[media] lirc_dev: remove lirc_irctl_init() and lirc_cdev_add()
authorDavid Härdeman <david@hardeman.nu>
Mon, 1 May 2017 16:04:21 +0000 (13:04 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Jun 2017 12:04:35 +0000 (09:04 -0300)
commit712551f0e45d668bd42cf5ce752f02fa0bba63f2
treea6339e26921016db64637262751815b870ef1645
parentbd16168da80dde6cfc6b7f89959206b74409cb86
[media] lirc_dev: remove lirc_irctl_init() and lirc_cdev_add()

These two functions only make the logic in lirc_register_driver()
harder to follow.

(Note that almost no other driver calls kobject_set_name() on their cdev
so I simply removed that part).

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/lirc_dev.c