summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs42l52.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-30 11:10:50 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-30 23:36:47 +0100
commitb9c374b26cfb8a052e846f77482c5e4e0548e081 (patch)
treee0a66a7b481617be4a61776c1f40607fbc2a34f5 /sound/soc/codecs/cs42l52.c
parentdfe0f98b8d2e114ae25f06f2a4384a2f886818b4 (diff)
ASoC: cs42l52: Remove duplicate module exit code
In the conversion to module_init_i2c() the original open coded module exit function was left. Remove it. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/cs42l52.c')
-rw-r--r--sound/soc/codecs/cs42l52.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/codecs/cs42l52.c b/sound/soc/codecs/cs42l52.c
index e7fefbd26008..703060daeac4 100644
--- a/sound/soc/codecs/cs42l52.c
+++ b/sound/soc/codecs/cs42l52.c
@@ -1287,13 +1287,6 @@ static struct i2c_driver cs42l52_i2c_driver = {
.remove = __devexit_p(cs42l52_i2c_remove),
};
-static void __exit cs42l52_exit(void)
-{
- i2c_del_driver(&cs42l52_i2c_driver);
-}
-
-module_exit(cs42l52_exit);
-
module_i2c_driver(cs42l52_i2c_driver);
MODULE_DESCRIPTION("ASoC CS42L52 driver");