diff options
Diffstat (limited to 'sound/soc/codecs/88pm860x-codec.c')
-rw-r--r-- | sound/soc/codecs/88pm860x-codec.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/codecs/88pm860x-codec.c b/sound/soc/codecs/88pm860x-codec.c index ea305b88cb55..2d39123dd21a 100644 --- a/sound/soc/codecs/88pm860x-codec.c +++ b/sound/soc/codecs/88pm860x-codec.c | |||
@@ -1481,17 +1481,7 @@ static struct platform_driver pm860x_codec_driver = { | |||
1481 | .remove = __devexit_p(pm860x_codec_remove), | 1481 | .remove = __devexit_p(pm860x_codec_remove), |
1482 | }; | 1482 | }; |
1483 | 1483 | ||
1484 | static __init int pm860x_init(void) | 1484 | module_platform_driver(pm860x_codec_driver); |
1485 | { | ||
1486 | return platform_driver_register(&pm860x_codec_driver); | ||
1487 | } | ||
1488 | module_init(pm860x_init); | ||
1489 | |||
1490 | static __exit void pm860x_exit(void) | ||
1491 | { | ||
1492 | platform_driver_unregister(&pm860x_codec_driver); | ||
1493 | } | ||
1494 | module_exit(pm860x_exit); | ||
1495 | 1485 | ||
1496 | MODULE_DESCRIPTION("ASoC 88PM860x driver"); | 1486 | MODULE_DESCRIPTION("ASoC 88PM860x driver"); |
1497 | MODULE_AUTHOR("Haojian Zhuang <haojian.zhuang@marvell.com>"); | 1487 | MODULE_AUTHOR("Haojian Zhuang <haojian.zhuang@marvell.com>"); |