diff options
-rw-r--r-- | sound/soc/codecs/tas5086.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/codecs/tas5086.c b/sound/soc/codecs/tas5086.c index 008bea4d6208..40cee844f0cf 100644 --- a/sound/soc/codecs/tas5086.c +++ b/sound/soc/codecs/tas5086.c | |||
@@ -584,17 +584,7 @@ static struct i2c_driver tas5086_i2c_driver = { | |||
584 | .remove = tas5086_i2c_remove, | 584 | .remove = tas5086_i2c_remove, |
585 | }; | 585 | }; |
586 | 586 | ||
587 | static int __init tas5086_modinit(void) | 587 | module_i2c_driver(tas5086_i2c_driver); |
588 | { | ||
589 | return i2c_add_driver(&tas5086_i2c_driver); | ||
590 | } | ||
591 | module_init(tas5086_modinit); | ||
592 | |||
593 | static void __exit tas5086_modexit(void) | ||
594 | { | ||
595 | i2c_del_driver(&tas5086_i2c_driver); | ||
596 | } | ||
597 | module_exit(tas5086_modexit); | ||
598 | 588 | ||
599 | MODULE_AUTHOR("Daniel Mack <zonque@gmail.com>"); | 589 | MODULE_AUTHOR("Daniel Mack <zonque@gmail.com>"); |
600 | MODULE_DESCRIPTION("Texas Instruments TAS5086 ALSA SoC Codec Driver"); | 590 | MODULE_DESCRIPTION("Texas Instruments TAS5086 ALSA SoC Codec Driver"); |