From: viresh kumar Date: Thu, 15 Mar 2012 09:40:38 +0000 (+0100) Subject: ARM: 7362/1: AMBA: Add module_amba_driver() helper macro for amba_driver X-Git-Tag: v3.4-rc1~104^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e5ed094c89e55fbf11d2e81d60be98eb12346c0;p=pandora-kernel.git ARM: 7362/1: AMBA: Add module_amba_driver() helper macro for amba_driver For simple modules that contain a single amba_driver without any additional setup code then ends up being a block of duplicated boilerplate. This patch adds a new macro, module_amba_driver(), which replaces the module_init()/module_exit() registrations with template functions. Signed-off-by: Viresh Kumar Signed-off-by: Russell King --- Reading git-diff-tree failed