OSDN Git Service

[media] media: lirc_dev: remove support for manually specifying minor number
authorDavid Härdeman <david@hardeman.nu>
Sun, 25 Jun 2017 12:31:24 +0000 (09:31 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Oct 2017 16:50:42 +0000 (13:50 -0300)
commitc3c6dd750e0b8dcee0306b9c5a45708922debbbe
treeabf9340cfba76d14ea5cdf413b86496c479d8bda
parentde226ec8a6ac10e65fcc689a28761c966986e6a6
[media] media: lirc_dev: remove support for manually specifying minor number

All users of lirc_register_driver() uses dynamic minor allocation,
therefore we can remove the ability to explicitly request a given number.

This changes the function prototype of lirc_unregister_driver() to also
take a struct lirc_driver pointer as the sole argument.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/ir-lirc-codec.c
drivers/media/rc/lirc_dev.c
drivers/staging/media/lirc/lirc_zilog.c
include/media/lirc_dev.h