diff options
author | 2017-04-07 15:07:10 +0200 | |
---|---|---|
committer | 2017-04-19 12:57:15 -0700 | |
commit | e33ca45ca8fe130d10dda07391c967a8a3851f3a (patch) | |
tree | a44c3bae307d6060f929a756928b7562b7fa5630 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | platform/x86: fujitsu-laptop: refactor LED registration (diff) | |
download | wireguard-linux-e33ca45ca8fe130d10dda07391c967a8a3851f3a.tar.xz wireguard-linux-e33ca45ca8fe130d10dda07391c967a8a3851f3a.zip |
platform/x86: fujitsu-laptop: reorganize LED-related code
Move around LED definitions and callbacks to eliminate the need for
forward declarations and ensure code is organized LED-wise, not
action-wise. Reorder assignments inside designated initializers so that
they are in the same order as struct led_classdev fields in
include/linux/leds.h. Adjust whitespace to make checkpatch happy.
Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Reviewed-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions