diff options
Diffstat (limited to 'sound/soc/codecs/tlv320aic3x.c')
-rw-r--r-- | sound/soc/codecs/tlv320aic3x.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c index 899af41787c1..3bedab26892f 100644 --- a/sound/soc/codecs/tlv320aic3x.c +++ b/sound/soc/codecs/tlv320aic3x.c | |||
@@ -1545,21 +1545,6 @@ static struct i2c_driver aic3x_i2c_driver = { | |||
1545 | .remove = aic3x_i2c_remove, | 1545 | .remove = aic3x_i2c_remove, |
1546 | .id_table = aic3x_i2c_id, | 1546 | .id_table = aic3x_i2c_id, |
1547 | }; | 1547 | }; |
1548 | |||
1549 | static inline void aic3x_i2c_init(void) | ||
1550 | { | ||
1551 | int ret; | ||
1552 | |||
1553 | ret = i2c_add_driver(&aic3x_i2c_driver); | ||
1554 | if (ret) | ||
1555 | printk(KERN_ERR "%s: error regsitering i2c driver, %d\n", | ||
1556 | __func__, ret); | ||
1557 | } | ||
1558 | |||
1559 | static inline void aic3x_i2c_exit(void) | ||
1560 | { | ||
1561 | i2c_del_driver(&aic3x_i2c_driver); | ||
1562 | } | ||
1563 | #endif | 1548 | #endif |
1564 | 1549 | ||
1565 | static int __init aic3x_modinit(void) | 1550 | static int __init aic3x_modinit(void) |