platform/x86: panasonic-laptop: reuse module_acpi_driver
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 28 Aug 2013 11:48:41 +0000 (14:48 +0300)
committerMatthew Garrett <matthew.garrett@nebula.com>
Thu, 5 Sep 2013 12:52:46 +0000 (08:52 -0400)
commit5c07eae979dfb596141c6885e5f5ecf1cd22cad3
tree08596268dee42c8f73b034b5748fcf54ab562853
parent5ff67df324e8440405e620bc05ea0600f07a8a27
platform/x86: panasonic-laptop: reuse module_acpi_driver

There is a macro to register and unregister modules in simple cases, Let's use
it and clean up the driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/panasonic-laptop.c