aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-02-29 17:33:45 -0500
committerKevin Hilman <khilman@ti.com>2012-03-05 14:29:26 -0500
commit1a21a680f1679c9648821f052abb5e77ad0f48af (patch)
treefcb9188b9793cc67e6d6121b8a24296d041f9576 /arch/arm/mach-omap2
parent1079a8b2907007ca6d11081fc403fc198ac503c4 (diff)
ARM: OMAP3+: SmartReflex: move late_initcall() closer to its argument
no functional changes, trivial patch. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Jean Pihet <j-pihet@ti.com> Reviewed-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/smartreflex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c
index b5dc1097e642..72fe4d1b01c4 100644
--- a/arch/arm/mach-omap2/smartreflex.c
+++ b/arch/arm/mach-omap2/smartreflex.c
@@ -1117,12 +1117,12 @@ static int __init sr_init(void)
1117 1117
1118 return 0; 1118 return 0;
1119} 1119}
1120late_initcall(sr_init);
1120 1121
1121static void __exit sr_exit(void) 1122static void __exit sr_exit(void)
1122{ 1123{
1123 platform_driver_unregister(&smartreflex_driver); 1124 platform_driver_unregister(&smartreflex_driver);
1124} 1125}
1125late_initcall(sr_init);
1126module_exit(sr_exit); 1126module_exit(sr_exit);
1127 1127
1128MODULE_DESCRIPTION("OMAP Smartreflex Driver"); 1128MODULE_DESCRIPTION("OMAP Smartreflex Driver");