projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3964687
)
ASoC: Remove unused aic3x_i2c_init and aic3x_i2c_exit functions
author
Axel Lin
<
[email protected]
>
Wed, 1 Dec 2010 06:38:24 +0000
(14:38 +0800)
committer
Liam Girdwood
<
[email protected]
>
Thu, 2 Dec 2010 11:50:07 +0000
(11:50 +0000)
Signed-off-by: Axel Lin <
[email protected]
>
Acked-by: Mark Brown <
[email protected]
>
Acked-by: Jarkko Nikula <
[email protected]
>
Signed-off-by: Liam Girdwood <
[email protected]
>
sound/soc/codecs/tlv320aic3x.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/tlv320aic3x.c
b/sound/soc/codecs/tlv320aic3x.c
index fc5abdf0bcb03d11ec59b95985a3bb0319385299..8cd4cf5c44dc2eebff94ded48f9b4c0ceb2724c7 100644
(file)
--- 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)