Commit f0774a21 authored by Felipe Balbi's avatar Felipe Balbi Committed by Kevin Hilman

mmc: host: davinci: general cleanups

Mostly tab fixes, but also removing some extra lines and
putting module_init() close to its argument function.
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent 5912086e
......@@ -1237,12 +1237,9 @@ static int davinci_mmcsd_resume(struct platform_device *pdev)
return mmc_resume_host(host->mmc);
}
#else
#define davinci_mmcsd_suspend NULL
#define davinci_mmcsd_resume NULL
#endif
static struct platform_driver davinci_mmcsd_driver = {
......@@ -1260,14 +1257,13 @@ static int davinci_mmcsd_init(void)
{
return platform_driver_register(&davinci_mmcsd_driver);
}
module_init(davinci_mmcsd_init);
static void __exit davinci_mmcsd_exit(void)
{
platform_driver_unregister(&davinci_mmcsd_driver);
}
module_init(davinci_mmcsd_init);
module_exit(davinci_mmcsd_exit);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("MMCSD driver for Davinci MMC controller");
MODULE_DESCRIPTION("MMC/SD driver for Davinci MMC controller");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment