|
@@ -158,7 +158,7 @@ static int w1_gpio_probe(struct platform_device *pdev)
|
|
|
return err;
|
|
|
}
|
|
|
|
|
|
-static int __exit w1_gpio_remove(struct platform_device *pdev)
|
|
|
+static int w1_gpio_remove(struct platform_device *pdev)
|
|
|
{
|
|
|
struct w1_bus_master *master = platform_get_drvdata(pdev);
|
|
|
struct w1_gpio_platform_data *pdata = pdev->dev.platform_data;
|
|
@@ -210,7 +210,7 @@ static struct platform_driver w1_gpio_driver = {
|
|
|
.of_match_table = of_match_ptr(w1_gpio_dt_ids),
|
|
|
},
|
|
|
.probe = w1_gpio_probe,
|
|
|
- .remove = __exit_p(w1_gpio_remove),
|
|
|
+ .remove = w1_gpio_remove,
|
|
|
.suspend = w1_gpio_suspend,
|
|
|
.resume = w1_gpio_resume,
|
|
|
};
|