History

[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().

David Härdeman committed 9 years ago

Commit e0e3c771 parent 25823222 files · +5 −39Browse files

Showing the changes to include/media/lirc_dev.h (1 of 2 files). Show all

Unified · Split

include/media/lirc_dev.h+0−3
@@ -210,7 +210,4 @@ unsigned int lirc_dev_fop_poll(struct file *file, poll_table *wait); · 209 unmodified lines
210210 long lirc_dev_fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
211211 ssize_t lirc_dev_fop_read(struct file *file, char __user *buffer, size_t length,
212212 loff_t *ppos);
213−ssize_t lirc_dev_fop_write(struct file *file, const char __user *buffer,
214− size_t length, loff_t *ppos);
215−
216213 #endif