platform/x86: topstar-laptop: split ACPI events and input handling
authorGuillaume Douézan-Grard <gdouezangrard@gmail.com>
Wed, 21 Feb 2018 17:00:26 +0000 (18:00 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 23 Feb 2018 16:43:40 +0000 (18:43 +0200)
commit3093ced23640fdeabacbcb691c97af207fdb5a6d
tree00b098d0a3c3e51bf09c34ce1efc24ba8700ead5
parent66aa0d606b5025409bf71a23b5ae683346f1795a
platform/x86: topstar-laptop: split ACPI events and input handling

* get the `acpi_device` from the `topstar_laptop` struct,

* split input registering and `sparse_keymap` events from ACPI events
handling,

* use notify, init and exit functions for ACPI and input handling

Signed-off-by: Guillaume Douézan-Grard <gdouezangrard@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/topstar-laptop.c