staging/android: use module_platform_driver
authorDevendra Naga <develkernel412222@gmail.com>
Fri, 20 Jul 2012 17:00:48 +0000 (22:45 +0545)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Aug 2012 02:04:25 +0000 (19:04 -0700)
commitc21be47c834bc411339ee04462ec7c5246e58596
tree97ec08971e8c435461e72d7415a7f44714e332e8
parent3d4e9e57e6da4ccd4c9710c76651175bc756799e
staging/android: use module_platform_driver

as the init and exit functions just do a platform_driver_register and
platform_driver_unregister, and nothing else, so its better to
use the module_platform_driver macro rather replicating its implementation

Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/timed_gpio.c