summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2017-05-01 18:04:06 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-06 14:02:20 +0200
commite0e3c77cc218d754eae9ddcc62d8ede5b31cf7c2 (patch)
tree792559880dd028a8a93a0087b03d2a5859d47305 /include/media
parent[media] lirc_dev: clarify error handling (diff)
downloadlinux-e0e3c77cc218d754eae9ddcc62d8ede5b31cf7c2.tar.xz
linux-e0e3c77cc218d754eae9ddcc62d8ede5b31cf7c2.zip
[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')
-rw-r--r--include/media/lirc_dev.h3
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);
-
#endif