Skip to content

Commit

Permalink
ARM: OMAP3+: SmartReflex: move late_initcall() closer to its argument
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Felipe Balbi authored and Kevin Hilman committed Mar 5, 2012
1 parent 1079a8b commit 1a21a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/smartreflex.c
Original file line number Diff line number Diff line change
Expand Up @@ -1117,12 +1117,12 @@ static int __init sr_init(void)

return 0;
}
late_initcall(sr_init);

static void __exit sr_exit(void)
{
platform_driver_unregister(&smartreflex_driver);
}
late_initcall(sr_init);
module_exit(sr_exit);

MODULE_DESCRIPTION("OMAP Smartreflex Driver");
Expand Down

0 comments on commit 1a21a68

Please sign in to comment.