|
@@ -420,7 +420,7 @@ static int cx20442_platform_probe(struct platform_device *pdev)
|
|
|
&cx20442_codec_dev, &cx20442_dai, 1);
|
|
|
}
|
|
|
|
|
|
-static int __exit cx20442_platform_remove(struct platform_device *pdev)
|
|
|
+static int cx20442_platform_remove(struct platform_device *pdev)
|
|
|
{
|
|
|
snd_soc_unregister_codec(&pdev->dev);
|
|
|
return 0;
|
|
@@ -431,7 +431,7 @@ static struct platform_driver cx20442_platform_driver = {
|
|
|
.name = "cx20442-codec",
|
|
|
},
|
|
|
.probe = cx20442_platform_probe,
|
|
|
- .remove = __exit_p(cx20442_platform_remove),
|
|
|
+ .remove = cx20442_platform_remove,
|
|
|
};
|
|
|
|
|
|
module_platform_driver(cx20442_platform_driver);
|