|
@@ -1215,7 +1215,7 @@ emalloc:
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-static int __exit i2c_pxa_remove(struct platform_device *dev)
|
|
|
+static int i2c_pxa_remove(struct platform_device *dev)
|
|
|
{
|
|
|
struct pxa_i2c *i2c = platform_get_drvdata(dev);
|
|
|
|
|
@@ -1269,7 +1269,7 @@ static const struct dev_pm_ops i2c_pxa_dev_pm_ops = {
|
|
|
|
|
|
static struct platform_driver i2c_pxa_driver = {
|
|
|
.probe = i2c_pxa_probe,
|
|
|
- .remove = __exit_p(i2c_pxa_remove),
|
|
|
+ .remove = i2c_pxa_remove,
|
|
|
.driver = {
|
|
|
.name = "pxa2xx-i2c",
|
|
|
.owner = THIS_MODULE,
|