diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-09-10 06:46:19 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-09-18 09:27:34 -0400 |
commit | 41569a16e4e12910e14ce98edea9ef30bd89299b (patch) | |
tree | 2f14e42e490d67d24770885a7ae1bed4e4f41aa9 /drivers/mfd | |
parent | 0a37fc56888c37049f60aab398fddceafd33fe72 (diff) |
mfd: twl4030-audio: Clean up MODULE_* and platform_driver part
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/twl4030-audio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mfd/twl4030-audio.c b/drivers/mfd/twl4030-audio.c index 77c9acb14583..e330dfcc74e5 100644 --- a/drivers/mfd/twl4030-audio.c +++ b/drivers/mfd/twl4030-audio.c | |||
@@ -250,18 +250,18 @@ static int __devexit twl4030_audio_remove(struct platform_device *pdev) | |||
250 | return 0; | 250 | return 0; |
251 | } | 251 | } |
252 | 252 | ||
253 | MODULE_ALIAS("platform:twl4030-audio"); | ||
254 | |||
255 | static struct platform_driver twl4030_audio_driver = { | 253 | static struct platform_driver twl4030_audio_driver = { |
256 | .probe = twl4030_audio_probe, | ||
257 | .remove = __devexit_p(twl4030_audio_remove), | ||
258 | .driver = { | 254 | .driver = { |
259 | .owner = THIS_MODULE, | 255 | .owner = THIS_MODULE, |
260 | .name = "twl4030-audio", | 256 | .name = "twl4030-audio", |
261 | }, | 257 | }, |
258 | .probe = twl4030_audio_probe, | ||
259 | .remove = __devexit_p(twl4030_audio_remove), | ||
262 | }; | 260 | }; |
263 | 261 | ||
264 | module_platform_driver(twl4030_audio_driver); | 262 | module_platform_driver(twl4030_audio_driver); |
265 | 263 | ||
266 | MODULE_AUTHOR("Peter Ujfalusi <peter.ujfalusi@ti.com>"); | 264 | MODULE_AUTHOR("Peter Ujfalusi <peter.ujfalusi@ti.com>"); |
265 | MODULE_DESCRIPTION("TWL4030 audio block MFD driver"); | ||
267 | MODULE_LICENSE("GPL"); | 266 | MODULE_LICENSE("GPL"); |
267 | MODULE_ALIAS("platform:twl4030-audio"); | ||