]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: cs42l52: Remove duplicate module exit code
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 30 Apr 2012 10:10:50 +0000 (11:10 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 30 Apr 2012 22:36:47 +0000 (23:36 +0100)
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>
sound/soc/codecs/cs42l52.c

index e7fefbd26008891300ca407250b35aa207053535..703060daeac4f187f3d83fac59fa9e4bd575aaf7 100644 (file)
@@ -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");