From: Thierry Reding Date: Thu, 30 Aug 2012 11:43:14 +0000 (+0200) Subject: unicore32: pwm: Use module_platform_driver() X-Git-Tag: v3.7-rc1~59^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dde9959b8d5b791a3e06e3c44f2d9ba0ec5143f0;p=pandora-kernel.git unicore32: pwm: Use module_platform_driver() Some of the boilerplate code can be eliminated by using this macro. The driver was previously registered with an arch_initcall(), so technically this is no longer the same, but when the driver is moved to the PWM framework, deferred probing will take care of any driver probe ordering issues. Signed-off-by: Thierry Reding Tested-by: Qin Rui Acked-by: Guan Xuetao --- Reading git-diff-tree failed