[media] lirc_dev: make fops mandatory
authorDavid Härdeman <david@hardeman.nu>
Mon, 1 May 2017 16:04:06 +0000 (13:04 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Jun 2017 12:02:20 +0000 (09:02 -0300)
commite0e3c77cc218d754eae9ddcc62d8ede5b31cf7c2
tree792559880dd028a8a93a0087b03d2a5859d47305
parent258232269590cee2acd4bb28b8e027ad340a85f9
[media] lirc_dev: make fops mandatory

Every caller of lirc_register_driver() passes their own fops and there
are no users of lirc_dev_fop_write() in the kernel tree. Thus we can
make fops mandatory and remove lirc_dev_fop_write().

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
include/media/lirc_dev.h