]> git.karo-electronics.de Git - linux-beck.git/commit
Input: twl4030-pwrbutton - use module_platform_driver_probe macro
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 18 Mar 2013 04:26:44 +0000 (21:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 18 Mar 2013 04:37:14 +0000 (21:37 -0700)
commit8c0aafe07721a3807f08d2a30abc1b04f01aa48b
tree174ec6ff994ee23bd2b594c30723bc523a32ac2d
parent6b0bc60b8b87be28f00dc71e624bd693d830bf74
Input: twl4030-pwrbutton - use module_platform_driver_probe macro

module_platform_driver_probe() eliminates the boilerplate and simplifies
the code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/twl4030-pwrbutton.c