diff options
-rw-r--r-- | sound/soc/codecs/tpa6130a2.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sound/soc/codecs/tpa6130a2.c b/sound/soc/codecs/tpa6130a2.c index 6fe4aa3ac544..565ff39ad3a3 100644 --- a/sound/soc/codecs/tpa6130a2.c +++ b/sound/soc/codecs/tpa6130a2.c | |||
@@ -487,19 +487,8 @@ static struct i2c_driver tpa6130a2_i2c_driver = { | |||
487 | .id_table = tpa6130a2_id, | 487 | .id_table = tpa6130a2_id, |
488 | }; | 488 | }; |
489 | 489 | ||
490 | static int __init tpa6130a2_init(void) | 490 | module_i2c_driver(tpa6130a2_i2c_driver); |
491 | { | ||
492 | return i2c_add_driver(&tpa6130a2_i2c_driver); | ||
493 | } | ||
494 | |||
495 | static void __exit tpa6130a2_exit(void) | ||
496 | { | ||
497 | i2c_del_driver(&tpa6130a2_i2c_driver); | ||
498 | } | ||
499 | 491 | ||
500 | MODULE_AUTHOR("Peter Ujfalusi <peter.ujfalusi@ti.com>"); | 492 | MODULE_AUTHOR("Peter Ujfalusi <peter.ujfalusi@ti.com>"); |
501 | MODULE_DESCRIPTION("TPA6130A2 Headphone amplifier driver"); | 493 | MODULE_DESCRIPTION("TPA6130A2 Headphone amplifier driver"); |
502 | MODULE_LICENSE("GPL"); | 494 | MODULE_LICENSE("GPL"); |
503 | |||
504 | module_init(tpa6130a2_init); | ||
505 | module_exit(tpa6130a2_exit); | ||