From: Bruno Prémont Date: Sun, 19 Aug 2012 17:33:02 +0000 (+0200) Subject: HID: picoLCD: optimize for inactive debugfs X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~104^2~2^4~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63583c64558853f0fe7f8166907417792d184e18;p=pandora-kernel.git 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. Do the same on the more important picolcd_debug_raw_event() that is called in interrupt context as opposed to picolcd_debug_out_report() which happens in whichever context that sends reports to device. Signed-off-by: Bruno Prémont Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed