Searched hist:"56481 f00" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/media/rc/ |
H A D | lirc_dev.c | 56481f00 Mon May 01 11:04:11 CDT 2017 David Härdeman <david@hardeman.nu> [media] lirc_dev: merge lirc_register_driver() and lirc_allocate_driver()
Merging the two means that lirc_allocate_buffer() is called before device_add() and cdev_add() which makes more sense. This also simplifies the locking slightly because lirc_allocate_buffer() will always be called with lirc_dev_lock held.
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> 56481f00 Mon May 01 11:04:11 CDT 2017 David Härdeman <david@hardeman.nu> [media] lirc_dev: merge lirc_register_driver() and lirc_allocate_driver() Merging the two means that lirc_allocate_buffer() is called before device_add() and cdev_add() which makes more sense. This also simplifies the locking slightly because lirc_allocate_buffer() will always be called with lirc_dev_lock held. 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>
|