summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2017-05-01 13:04:11 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-06 09:03:04 -0300
commit56481f0060a48938e31461efa2ad54d3b293ebe8 (patch)
treed079118090d9d53bcb97b4ca2b4c534fa957934f /tools/perf/scripts/python
parente0e3c77cc218d754eae9ddcc62d8ede5b31cf7c2 (diff)
downloadlinux-56481f0060a48938e31461efa2ad54d3b293ebe8.tar.gz
linux-56481f0060a48938e31461efa2ad54d3b293ebe8.zip
[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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions