Commit cd659fd0 authored by Jean Delvare's avatar Jean Delvare

hwmon: Fix more __devexit_p glitches

Make sure __devexit and devexit_p() match in all hwmon drivers.
Suggested by a similar fix from Mike Frysinger.
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Acked-by: default avatarHans de Goede <hdegoede@redhat.com>
Acked-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
parent 45e3e193
...@@ -247,7 +247,7 @@ static struct platform_driver f71882fg_driver = { ...@@ -247,7 +247,7 @@ static struct platform_driver f71882fg_driver = {
.name = DRVNAME, .name = DRVNAME,
}, },
.probe = f71882fg_probe, .probe = f71882fg_probe,
.remove = __devexit_p(f71882fg_remove), .remove = f71882fg_remove,
}; };
static DEVICE_ATTR(name, S_IRUGO, show_name, NULL); static DEVICE_ATTR(name, S_IRUGO, show_name, NULL);
......
...@@ -627,35 +627,35 @@ static struct platform_driver sht_drivers[] = { ...@@ -627,35 +627,35 @@ static struct platform_driver sht_drivers[] = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = sht15_probe, .probe = sht15_probe,
.remove = sht15_remove, .remove = __devexit_p(sht15_remove),
}, { }, {
.driver = { .driver = {
.name = "sht11", .name = "sht11",
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = sht15_probe, .probe = sht15_probe,
.remove = sht15_remove, .remove = __devexit_p(sht15_remove),
}, { }, {
.driver = { .driver = {
.name = "sht15", .name = "sht15",
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = sht15_probe, .probe = sht15_probe,
.remove = sht15_remove, .remove = __devexit_p(sht15_remove),
}, { }, {
.driver = { .driver = {
.name = "sht71", .name = "sht71",
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = sht15_probe, .probe = sht15_probe,
.remove = sht15_remove, .remove = __devexit_p(sht15_remove),
}, { }, {
.driver = { .driver = {
.name = "sht75", .name = "sht75",
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = sht15_probe, .probe = sht15_probe,
.remove = sht15_remove, .remove = __devexit_p(sht15_remove),
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment