PNP: platform/x86/apple-gmux: Use module_pnp_driver to register driver
authorPeter Huewe <PeterHuewe@gmx.de>
Mon, 16 Mar 2015 20:46:36 +0000 (21:46 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 Mar 2015 21:39:17 +0000 (22:39 +0100)
commit99f74f12e87426be0f83b87b5e46c1ec8b00bd0f
treea9b7581cc7fadc75fba57716a07ee2537683b870
parented03538aa8d5f03432ddd5ed73fc0ba2725af93d
PNP: platform/x86/apple-gmux: Use module_pnp_driver to register driver

Removing some boilerplate by using module_pnp_driver instead of calling
register and unregister in the otherwise empty init/exit functions

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/platform/x86/apple-gmux.c