commit | 6e1cf66ee3105b41ec93a3848e848ae682add3ff | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Fri May 24 16:28:14 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 30 21:54:06 2013 +0900 |
tree | ed8922dc983ec2187e4283a54c5c4f9a41e83b93 | |
parent | ddfd6894db8d1c1a5b5e532283aee1f3afd880b9 [diff] |
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>