diff options
| author | Michał Kępień <kernel@kempniu.pl> | 2017-03-10 13:50:33 +0300 |
|---|---|---|
| committer | Darren Hart <dvhart@infradead.org> | 2017-03-15 08:57:16 +0300 |
| commit | b8d69c16a0bdc2cae1ad709f0a9e6a2484c457a9 (patch) | |
| tree | 8c286f1b8fac7eb05c6a400b7285f24786c6aa77 /include/linux/debugobjects.h | |
| parent | d2aa3ae86daca0486da4301702e709b2d519b6cb (diff) | |
| download | linux-b8d69c16a0bdc2cae1ad709f0a9e6a2484c457a9.tar.xz | |
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ń <kernel@kempniu.pl>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-and-tested-by: Jonathan Woithe <jwoithe@just42.net>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
