aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJacek Anaszewski <[email protected]>2015-10-19 09:04:01 +0200
committerJacek Anaszewski <[email protected]>2016-01-04 09:57:30 +0100
commit1afcadfcd184c3b52e38bae15c247a5fa4a0e054 (patch)
tree6e94c39adb855e8309f97a7d79fbad19bcffda96 /tools/perf/scripts/python/net_dropmonitor.py
parent81fe8e5b73e3f4de578ac7f53c1d956d4f58b8d4 (diff)
leds: core: Use set_brightness_work for the blocking op
This patch makes LED core capable of setting brightness for drivers that implement brightness_set_blocking op. It removes from LED class drivers responsibility for using work queues on their own. In order to achieve this set_brightness_delayed callback is being modified to directly call one of available ops for brightness setting. led_set_brightness_async() function didn't set brightness in an asynchronous way in all cases. It was mistakenly assuming that all LED subsystem drivers used work queue in their brightness_set op, whereas only half of them did that. Since it has no users now, it is being removed. Signed-off-by: Jacek Anaszewski <[email protected]> Acked-by: Sakari Ailus <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions