From: Axel Lin Date: Mon, 12 Dec 2011 07:43:32 +0000 (-0800) Subject: Input: mc13783-pwrbutton - convert to use module_platform_driver() X-Git-Tag: v3.3-rc1~122^2^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18b2b1813f51a314d2468d0c103e593936e5f534;p=pandora-kernel.git 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 Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed