aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/88pm860x-codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/88pm860x-codec.c')
-rw-r--r--sound/soc/codecs/88pm860x-codec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/88pm860x-codec.c b/sound/soc/codecs/88pm860x-codec.c
index 9fd3b6827bba..60159c07448d 100644
--- a/sound/soc/codecs/88pm860x-codec.c
+++ b/sound/soc/codecs/88pm860x-codec.c
@@ -1423,7 +1423,7 @@ static struct snd_soc_codec_driver soc_codec_dev_pm860x = {
1423 .num_dapm_routes = ARRAY_SIZE(pm860x_dapm_routes), 1423 .num_dapm_routes = ARRAY_SIZE(pm860x_dapm_routes),
1424}; 1424};
1425 1425
1426static int __devinit pm860x_codec_probe(struct platform_device *pdev) 1426static int pm860x_codec_probe(struct platform_device *pdev)
1427{ 1427{
1428 struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent); 1428 struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent);
1429 struct pm860x_priv *pm860x; 1429 struct pm860x_priv *pm860x;
@@ -1463,7 +1463,7 @@ out:
1463 return -EINVAL; 1463 return -EINVAL;
1464} 1464}
1465 1465
1466static int __devexit pm860x_codec_remove(struct platform_device *pdev) 1466static int pm860x_codec_remove(struct platform_device *pdev)
1467{ 1467{
1468 snd_soc_unregister_codec(&pdev->dev); 1468 snd_soc_unregister_codec(&pdev->dev);
1469 platform_set_drvdata(pdev, NULL); 1469 platform_set_drvdata(pdev, NULL);
@@ -1476,7 +1476,7 @@ static struct platform_driver pm860x_codec_driver = {
1476 .owner = THIS_MODULE, 1476 .owner = THIS_MODULE,
1477 }, 1477 },
1478 .probe = pm860x_codec_probe, 1478 .probe = pm860x_codec_probe,
1479 .remove = __devexit_p(pm860x_codec_remove), 1479 .remove = pm860x_codec_remove,
1480}; 1480};
1481 1481
1482module_platform_driver(pm860x_codec_driver); 1482module_platform_driver(pm860x_codec_driver);