mfd: twl4030-audio: Clean up MODULE_* and platform_driver part
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 10 Sep 2012 10:46:19 +0000 (13:46 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 18 Sep 2012 13:27:34 +0000 (15:27 +0200)
Place the MODULE_* lines in the same block and add MODULE_DESCRIPTION.
Rearange the platform_driver structure at the same time.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl4030-audio.c

index 77c9acb145831c5b03fd04cbc08d0f6e0bfd47ec..e330dfcc74e587c8d22fac838781945894b7d791 100644 (file)
@@ -250,18 +250,18 @@ static int __devexit twl4030_audio_remove(struct platform_device *pdev)
        return 0;
 }
 
-MODULE_ALIAS("platform:twl4030-audio");
-
 static struct platform_driver twl4030_audio_driver = {
-       .probe          = twl4030_audio_probe,
-       .remove         = __devexit_p(twl4030_audio_remove),
        .driver         = {
                .owner  = THIS_MODULE,
                .name   = "twl4030-audio",
        },
+       .probe          = twl4030_audio_probe,
+       .remove         = __devexit_p(twl4030_audio_remove),
 };
 
 module_platform_driver(twl4030_audio_driver);
 
 MODULE_AUTHOR("Peter Ujfalusi <peter.ujfalusi@ti.com>");
+MODULE_DESCRIPTION("TWL4030 audio block MFD driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:twl4030-audio");