Searched refs:mdpy_dev (Results 1 – 1 of 1) sorted by relevance
86 static struct device mdpy_dev; variable766 mdpy_dev.class = mdpy_class; in mdpy_dev_init()767 mdpy_dev.release = mdpy_device_release; in mdpy_dev_init()768 dev_set_name(&mdpy_dev, "%s", MDPY_NAME); in mdpy_dev_init()770 ret = device_register(&mdpy_dev); in mdpy_dev_init()774 ret = mdev_register_device(&mdpy_dev, &mdev_fops); in mdpy_dev_init()781 device_unregister(&mdpy_dev); in mdpy_dev_init()794 mdpy_dev.bus = NULL; in mdpy_dev_exit()795 mdev_unregister_device(&mdpy_dev); in mdpy_dev_exit()797 device_unregister(&mdpy_dev); in mdpy_dev_exit()