diff options
Diffstat (limited to 'sound/soc/codecs/wm9090.c')
-rw-r--r-- | sound/soc/codecs/wm9090.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/codecs/wm9090.c b/sound/soc/codecs/wm9090.c index 2c2346fdd637..c7ddc56175d1 100644 --- a/sound/soc/codecs/wm9090.c +++ b/sound/soc/codecs/wm9090.c | |||
@@ -695,17 +695,7 @@ static struct i2c_driver wm9090_i2c_driver = { | |||
695 | .id_table = wm9090_id, | 695 | .id_table = wm9090_id, |
696 | }; | 696 | }; |
697 | 697 | ||
698 | static int __init wm9090_init(void) | 698 | module_i2c_driver(wm9090_i2c_driver); |
699 | { | ||
700 | return i2c_add_driver(&wm9090_i2c_driver); | ||
701 | } | ||
702 | module_init(wm9090_init); | ||
703 | |||
704 | static void __exit wm9090_exit(void) | ||
705 | { | ||
706 | i2c_del_driver(&wm9090_i2c_driver); | ||
707 | } | ||
708 | module_exit(wm9090_exit); | ||
709 | 699 | ||
710 | MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>"); | 700 | MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>"); |
711 | MODULE_DESCRIPTION("WM9090 ASoC driver"); | 701 | MODULE_DESCRIPTION("WM9090 ASoC driver"); |