misc: atmel_pwm: use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Mar 2013 02:03:18 +0000 (11:03 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 18:10:49 +0000 (11:10 -0700)
commit4022ed5a7222a400f813cfecfa5ecca40c708f69
tree5d39ee3b41437c358bc6f7358971a86d2d12eff2
parent0c75948249a05ebfa3214aaf5b8247ec919c30ac
misc: atmel_pwm: use module_platform_driver_probe()

This patch uses module_platform_driver_probe() macro which makes
the code smaller and simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/atmel_pwm.c