aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichał Kępień <[email protected]>2017-03-10 11:50:33 +0100
committerDarren Hart <[email protected]>2017-03-14 22:57:16 -0700
commitb8d69c16a0bdc2cae1ad709f0a9e6a2484c457a9 (patch)
tree8c286f1b8fac7eb05c6a400b7285f24786c6aa77 /tools/perf/scripts/python
parentd2aa3ae86daca0486da4301702e709b2d519b6cb (diff)
platform/x86: fujitsu-laptop: register backlight device in a separate function
Move code responsible for backlight device registration to a separate function in order to simplify error handling and decrease indentation. Simplify initialization of struct backlight_properties. Signed-off-by: Michał Kępień <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-and-tested-by: Jonathan Woithe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions