mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 03:33:59 +08:00
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>
This commit is contained in:
parent
dfe0f98b8d
commit
b9c374b26c
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user