Since there are no users of this functionality, it can be removed altogether.
Showing the changes to include/media/lirc_dev.h (1 of 3 files). Show all
Unified · Split
| @@ -165,10 +165,6 @@ static inline unsigned int lirc_buffer_write(struct lirc_buffer *buf, · 164 unmodified lines | ||
| 165 | 165 | * have to write to the buffer by other means, like irq's |
| 166 | 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 | 168 | * @rdev: Pointed to struct rc_dev associated with the LIRC |
| 173 | 169 | * device. |
| 174 | 170 | * |
| @@ -198,8 +194,6 @@ struct lirc_driver { · 23 unmodified lines | ||
| 198 | 194 | int max_timeout; |
| 199 | 195 | int (*add_to_buf)(void *data, struct lirc_buffer *buf); |
| 200 | 196 | struct lirc_buffer *rbuf; |
| 201 | − int (*set_use_inc)(void *data); | |
| 202 | − void (*set_use_dec)(void *data); | |
| 203 | 197 | struct rc_dev *rdev; |
| 204 | 198 | const struct file_operations *fops; |
| 205 | 199 | struct device *dev; |