commit | 18b2b1813f51a314d2468d0c103e593936e5f534 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Sun Dec 11 23:43:32 2011 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Dec 12 00:02:51 2011 -0800 |
tree | 4590025d96904e724eb43fa92fcf17baad8f6cfd | |
parent | ff4d049246727087ee797b6802e7c1bd4d5d172c [diff] |
Input: mc13783-pwrbutton - convert to use module_platform_driver() This patch converts mc13783-pwrbutton to use the module_platform_driver() macro which makes the code smaller and a bit simpler. Also staticise mc13783_pwrbutton_driver which is not used outside this driver so no need to make the symbol global. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>