diff options
Diffstat (limited to 'drivers/w1')
-rw-r--r-- | drivers/w1/masters/w1-gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/w1/masters/w1-gpio.c b/drivers/w1/masters/w1-gpio.c index d39dfa4cc235..012817abb12f 100644 --- a/drivers/w1/masters/w1-gpio.c +++ b/drivers/w1/masters/w1-gpio.c | |||
@@ -158,7 +158,7 @@ static int w1_gpio_probe(struct platform_device *pdev) | |||
158 | return err; | 158 | return err; |
159 | } | 159 | } |
160 | 160 | ||
161 | static int __exit w1_gpio_remove(struct platform_device *pdev) | 161 | static int w1_gpio_remove(struct platform_device *pdev) |
162 | { | 162 | { |
163 | struct w1_bus_master *master = platform_get_drvdata(pdev); | 163 | struct w1_bus_master *master = platform_get_drvdata(pdev); |
164 | struct w1_gpio_platform_data *pdata = pdev->dev.platform_data; | 164 | struct w1_gpio_platform_data *pdata = pdev->dev.platform_data; |
@@ -210,7 +210,7 @@ static struct platform_driver w1_gpio_driver = { | |||
210 | .of_match_table = of_match_ptr(w1_gpio_dt_ids), | 210 | .of_match_table = of_match_ptr(w1_gpio_dt_ids), |
211 | }, | 211 | }, |
212 | .probe = w1_gpio_probe, | 212 | .probe = w1_gpio_probe, |
213 | .remove = __exit_p(w1_gpio_remove), | 213 | .remove = w1_gpio_remove, |
214 | .suspend = w1_gpio_suspend, | 214 | .suspend = w1_gpio_suspend, |
215 | .resume = w1_gpio_resume, | 215 | .resume = w1_gpio_resume, |
216 | }; | 216 | }; |