commit | f8a399dcfae913e773cbef6a940755953cdd70a3 | [log] [tgz] |
---|---|---|
author | Michał Kępień <kernel@kempniu.pl> | Mon Mar 20 10:32:18 2017 +0100 |
committer | Darren Hart (VMware) <dvhart@infradead.org> | Thu Apr 13 10:14:24 2017 -0700 |
tree | 9573fa0b3bfdd219e929b2f0c1673d406db7a457 | |
parent | 7d134e43a2ac729888bb752f8dba5f8bbb5c938a [diff] |
platform/x86: fujitsu-laptop: switch to a managed backlight input device Use a managed input device for brightness events in order to simplify two error paths and one cleanup function while also reducing the number of local variables required. Remove double assignment 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>