Searched refs:mdpy_dev (Results 1 – 1 of 1) sorted by relevance
86 static struct device mdpy_dev; variable770 mdpy_dev.class = mdpy_class; in mdpy_dev_init()771 mdpy_dev.release = mdpy_device_release; in mdpy_dev_init()772 dev_set_name(&mdpy_dev, "%s", MDPY_NAME); in mdpy_dev_init()774 ret = device_register(&mdpy_dev); in mdpy_dev_init()778 ret = mdev_register_device(&mdpy_dev, &mdev_fops); in mdpy_dev_init()785 device_unregister(&mdpy_dev); in mdpy_dev_init()796 mdpy_dev.bus = NULL; in mdpy_dev_exit()797 mdev_unregister_device(&mdpy_dev); in mdpy_dev_exit()799 device_unregister(&mdpy_dev); in mdpy_dev_exit()