]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
HID: picoLCD: optimize for inactive debugfs
authorBruno Prémont <bonbons@linux-vserver.org>
Sun, 30 Sep 2012 20:04:19 +0000 (22:04 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 1 Oct 2012 08:25:01 +0000 (10:25 +0200)
commit56fa94415b8a1a163e24a105fb5bdadc625c1d2a
treeb1a91eb5032c56267427de1ea6c8859903e2a46c
parent5ed84c341c25accc61410cfb53a45170f8fb19e4
HID: picoLCD: optimize for inactive debugfs

Matthieu CASTET adjusted picolcd_debug_out_report() to only operate when
there is an active listener on debugfs for events.

His change got lost while splitting hid_picolcd.c, restore it.

Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-picolcd_debugfs.c