mm/hmm/test: use char dev with struct device to get device node