platform-drivers-x86: convert drivers/platform/x86/* to use module_platform_driver()
authorAxel Lin <axel.lin@gmail.com>
Sat, 26 Nov 2011 04:14:37 +0000 (12:14 +0800)
committerMatthew Garrett <mjg@redhat.com>
Tue, 20 Mar 2012 16:02:04 +0000 (12:02 -0400)
commit73d99a224435f25976a29c3aef53590180cdb774
treea4a27169d4a53b82782c3874c2aca090b9966c82
parentb94e88bcb35b321b55ff4517c10eeec16079d46f
platform-drivers-x86: convert drivers/platform/x86/* to use module_platform_driver()

This patch converts the drivers in drivers/platform/x86/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.

Cc: Hong Liu <hong.liu@intel.com>
Cc: Durgadoss R <durgadoss.r@intel.com>
Cc: Daniel Drake <dsd@laptop.org>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/intel_mid_powerbtn.c
drivers/platform/x86/intel_mid_thermal.c
drivers/platform/x86/xo1-rfkill.c