History

[media] lirc_dev: remove unused set_use_inc/set_use_dec

Since there are no users of this functionality, it can be removed altogether.

David Härdeman committed 9 years ago

Commit 2c5a1f41 parent 52e809f3 files · +6 −26Browse files

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

Unified · Split

include/media/lirc_dev.h+0−6
@@ -165,10 +165,6 @@ static inline unsigned int lirc_buffer_write(struct lirc_buffer *buf, · 164 unmodified lines
165 * have to write to the buffer by other means, like irq's165 * have to write to the buffer by other means, like irq's
166 * (see also lirc_serial.c).166 * (see also lirc_serial.c).
167 *167 *
168 * @set_use_inc: set_use_inc will be called after device is opened
169 *
170 * @set_use_dec: set_use_dec will be called after device is closed
171 *
172 * @rdev: Pointed to struct rc_dev associated with the LIRC168 * @rdev: Pointed to struct rc_dev associated with the LIRC
173 * device.169 * device.
174 *170 *
@@ -198,8 +194,6 @@ struct lirc_driver { · 23 unmodified lines
198 int max_timeout;194 int max_timeout;
199 int (*add_to_buf)(void *data, struct lirc_buffer *buf);195 int (*add_to_buf)(void *data, struct lirc_buffer *buf);
200 struct lirc_buffer *rbuf;196 struct lirc_buffer *rbuf;
201 int (*set_use_inc)(void *data);
202 void (*set_use_dec)(void *data);
203 struct rc_dev *rdev;197 struct rc_dev *rdev;
204 const struct file_operations *fops;198 const struct file_operations *fops;
205 struct device *dev;199 struct device *dev;