path: root/include/media/lirc_dev.h
diff options
authorDavid Härdeman <david@hardeman.nu>2017-05-01 13:04:06 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-06 09:02:20 -0300
commite0e3c77cc218d754eae9ddcc62d8ede5b31cf7c2 (patch)
tree792559880dd028a8a93a0087b03d2a5859d47305 /include/media/lirc_dev.h
parent258232269590cee2acd4bb28b8e027ad340a85f9 (diff)
[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>
Diffstat (limited to 'include/media/lirc_dev.h')
1 files changed, 0 insertions, 3 deletions
diff --git a/include/media/lirc_dev.h b/include/media/lirc_dev.h
index 01649b009922..1f327e25a9be 100644
--- a/include/media/lirc_dev.h
+++ b/include/media/lirc_dev.h
@@ -210,7 +210,4 @@ unsigned int lirc_dev_fop_poll(struct file *file, poll_table *wait);
long lirc_dev_fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
ssize_t lirc_dev_fop_read(struct file *file, char __user *buffer, size_t length,
loff_t *ppos);
-ssize_t lirc_dev_fop_write(struct file *file, const char __user *buffer,
- size_t length, loff_t *ppos);

Privacy Policy