[PATCH] drivers: misc: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Arnd Bergmann --- drivers/misc/arm-charlcd.c | 13 + drivers/misc/atmel_pwm.c | 12

[PATCH] drivers: misc: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Arnd Bergmann a...@arndb.de --- drivers/misc/arm-charlcd.c