diff options
author | Felipe Balbi <balbi@ti.com> | 2012-02-29 17:33:45 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-03-05 14:29:26 -0500 |
commit | 1a21a680f1679c9648821f052abb5e77ad0f48af (patch) | |
tree | fcb9188b9793cc67e6d6121b8a24296d041f9576 /arch/arm/mach-omap2 | |
parent | 1079a8b2907007ca6d11081fc403fc198ac503c4 (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.c | 2 |
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 | } |
1120 | late_initcall(sr_init); | ||
1120 | 1121 | ||
1121 | static void __exit sr_exit(void) | 1122 | static void __exit sr_exit(void) |
1122 | { | 1123 | { |
1123 | platform_driver_unregister(&smartreflex_driver); | 1124 | platform_driver_unregister(&smartreflex_driver); |
1124 | } | 1125 | } |
1125 | late_initcall(sr_init); | ||
1126 | module_exit(sr_exit); | 1126 | module_exit(sr_exit); |
1127 | 1127 | ||
1128 | MODULE_DESCRIPTION("OMAP Smartreflex Driver"); | 1128 | MODULE_DESCRIPTION("OMAP Smartreflex Driver"); |