summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tlv320aic3x.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-12-01 14:38:24 +0800
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-12-02 11:50:07 +0000
commitfbe609e41b48f2e7da7c053ca835ba1277d3bed2 (patch)
tree66a074be94827069e6315d6ad9cb6a5a57f0a694 /sound/soc/codecs/tlv320aic3x.c
parent39646871a47fd8808c08de0ce7d7ca8393af2805 (diff)
downloadop-kernel-dev-fbe609e41b48f2e7da7c053ca835ba1277d3bed2.zip
op-kernel-dev-fbe609e41b48f2e7da7c053ca835ba1277d3bed2.tar.gz
ASoC: Remove unused aic3x_i2c_init and aic3x_i2c_exit functions
Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Jarkko Nikula <jhnikula@gmail.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/tlv320aic3x.c')
-rw-r--r--sound/soc/codecs/tlv320aic3x.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c
index fc5abdf..8cd4cf5 100644
--- a/sound/soc/codecs/tlv320aic3x.c
+++ b/sound/soc/codecs/tlv320aic3x.c
@@ -1545,21 +1545,6 @@ static struct i2c_driver aic3x_i2c_driver = {
.remove = aic3x_i2c_remove,
.id_table = aic3x_i2c_id,
};
-
-static inline void aic3x_i2c_init(void)
-{
- int ret;
-
- ret = i2c_add_driver(&aic3x_i2c_driver);
- if (ret)
- printk(KERN_ERR "%s: error regsitering i2c driver, %d\n",
- __func__, ret);
-}
-
-static inline void aic3x_i2c_exit(void)
-{
- i2c_del_driver(&aic3x_i2c_driver);
-}
#endif
static int __init aic3x_modinit(void)
OpenPOWER on IntegriCloud