+1
−12
+1
−11
+1
−12
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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 <viresh.kumar@st.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>