From 992f835185ba1335412eee17e9be9e286ca840d2 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Wed, 1 Dec 2010 14:38:24 +0800 Subject: [PATCH] --- yaml --- r: 230397 b: refs/heads/master c: fbe609e41b48f2e7da7c053ca835ba1277d3bed2 h: refs/heads/master i: 230395: 9b3cfac35b3b6dcf827a837f435a74e9eeaa6a72 v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/tlv320aic3x.c | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/[refs] b/[refs] index 213a8ae3aca3..eb8df215bc10 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 39646871a47fd8808c08de0ce7d7ca8393af2805 +refs/heads/master: fbe609e41b48f2e7da7c053ca835ba1277d3bed2 diff --git a/trunk/sound/soc/codecs/tlv320aic3x.c b/trunk/sound/soc/codecs/tlv320aic3x.c index fc5abdf0bcb0..8cd4cf5c44dc 100644 --- a/trunk/sound/soc/codecs/tlv320aic3x.c +++ b/trunk/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)