mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 08:58:07 +00:00
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>
This commit is contained in:
parent
39646871a4
commit
fbe609e41b
1 changed files with 0 additions and 15 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue