platform/x86: topstar-laptop: add platform device
authorGuillaume Douézan-Grard <gdouezangrard@gmail.com>
Wed, 21 Feb 2018 17:00:35 +0000 (18:00 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 23 Feb 2018 16:43:41 +0000 (18:43 +0200)
commit2c531437dd446306999528a122b14d7ef2acd768
treed1ca50d67fffe0c0e7e5a47ba1074cef23f80052
parent3093ced23640fdeabacbcb691c97af207fdb5a6d
platform/x86: topstar-laptop: add platform device

* add a platform device to support further addition of a led subsystem,

* register the existing input device to this platform device.

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