aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5631.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/rt5631.c')
-rw-r--r--sound/soc/codecs/rt5631.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/rt5631.c b/sound/soc/codecs/rt5631.c
index 960d0e93cce9..912c9cbc2724 100644
--- a/sound/soc/codecs/rt5631.c
+++ b/sound/soc/codecs/rt5631.c
@@ -1382,7 +1382,7 @@ static int rt5631_hifi_pcm_params(struct snd_pcm_substream *substream,
1382 timesofbclk); 1382 timesofbclk);
1383 if (coeff < 0) { 1383 if (coeff < 0) {
1384 dev_err(codec->dev, "Fail to get coeff\n"); 1384 dev_err(codec->dev, "Fail to get coeff\n");
1385 return -EINVAL; 1385 return coeff;
1386 } 1386 }
1387 1387
1388 switch (params_format(params)) { 1388 switch (params_format(params)) {
@@ -1748,7 +1748,7 @@ static int rt5631_i2c_probe(struct i2c_client *i2c,
1748 return ret; 1748 return ret;
1749} 1749}
1750 1750
1751static __devexit int rt5631_i2c_remove(struct i2c_client *client) 1751static int rt5631_i2c_remove(struct i2c_client *client)
1752{ 1752{
1753 snd_soc_unregister_codec(&client->dev); 1753 snd_soc_unregister_codec(&client->dev);
1754 return 0; 1754 return 0;
@@ -1760,7 +1760,7 @@ static struct i2c_driver rt5631_i2c_driver = {
1760 .owner = THIS_MODULE, 1760 .owner = THIS_MODULE,
1761 }, 1761 },
1762 .probe = rt5631_i2c_probe, 1762 .probe = rt5631_i2c_probe,
1763 .remove = __devexit_p(rt5631_i2c_remove), 1763 .remove = rt5631_i2c_remove,
1764 .id_table = rt5631_i2c_id, 1764 .id_table = rt5631_i2c_id,
1765}; 1765};
1766 1766