提交 b9c374b2 编写于 作者: M Mark Brown

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: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 dfe0f98b
...@@ -1287,13 +1287,6 @@ static struct i2c_driver cs42l52_i2c_driver = { ...@@ -1287,13 +1287,6 @@ static struct i2c_driver cs42l52_i2c_driver = {
.remove = __devexit_p(cs42l52_i2c_remove), .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_i2c_driver(cs42l52_i2c_driver);
MODULE_DESCRIPTION("ASoC CS42L52 driver"); MODULE_DESCRIPTION("ASoC CS42L52 driver");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册