misc/ep93xx_pwm: use module_platform_driver()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 24 May 2013 23:28:14 +0000 (16:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 12:54:06 +0000 (21:54 +0900)
commit6e1cf66ee3105b41ec93a3848e848ae682add3ff
treeed8922dc983ec2187e4283a54c5c4f9a41e83b93
parentddfd6894db8d1c1a5b5e532283aee1f3afd880b9
misc/ep93xx_pwm: use module_platform_driver()

Add the (*probe) function to the platform_driver and use the
module_platform_driver() macro to initialize the module.

Remove the unnecessary __init and __exit tags.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Ryan Mallon <rmallon@gmail.com>
Cc: Matthieu Crapet <mcrapet@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ep93xx_pwm.c