summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorMichał Kępień <kernel@kempniu.pl>2017-03-10 11:50:33 +0100
committerDarren Hart <dvhart@infradead.org>2017-03-14 22:57:16 -0700
commitb8d69c16a0bdc2cae1ad709f0a9e6a2484c457a9 (patch)
tree8c286f1b8fac7eb05c6a400b7285f24786c6aa77 /net/lapb/lapb_timer.c
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ń <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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions