platform/x86: fujitsu-laptop: switch to a managed backlight device
authorMichał Kępień <kernel@kempniu.pl>
Wed, 5 Apr 2017 06:49:01 +0000 (08:49 +0200)
committerDarren Hart (VMware) <dvhart@infradead.org>
Thu, 13 Apr 2017 17:16:05 +0000 (10:16 -0700)
commita1aabd5f3609dfa460050402c677620312bc2876
tree1b71630d8d02f570292d7293d6cf067104a15dfa
parent07acf62a40f2410a00ed058db225c8f959ff8695
platform/x86: fujitsu-laptop: switch to a managed backlight device

Use a managed backlight device to get rid of acpi_fujitsu_bl_remove().
Change the parent of the backlight device from NULL to the FUJ02B1 ACPI
device as the latter is required for the backlight device to work.

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>
drivers/platform/x86/fujitsu-laptop.c