mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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: Jean Delvare <khali@linux-fr.org> Acked-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
This commit is contained in:
parent
45e3e1935e
commit
cd659fd0d7
2 changed files with 6 additions and 6 deletions
|
@ -247,7 +247,7 @@ static struct platform_driver f71882fg_driver = {
|
|||
.name = DRVNAME,
|
||||
},
|
||||
.probe = f71882fg_probe,
|
||||
.remove = __devexit_p(f71882fg_remove),
|
||||
.remove = f71882fg_remove,
|
||||
};
|
||||
|
||||
static DEVICE_ATTR(name, S_IRUGO, show_name, NULL);
|
||||
|
|
|
@ -627,35 +627,35 @@ static struct platform_driver sht_drivers[] = {
|
|||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = sht15_probe,
|
||||
.remove = sht15_remove,
|
||||
.remove = __devexit_p(sht15_remove),
|
||||
}, {
|
||||
.driver = {
|
||||
.name = "sht11",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = sht15_probe,
|
||||
.remove = sht15_remove,
|
||||
.remove = __devexit_p(sht15_remove),
|
||||
}, {
|
||||
.driver = {
|
||||
.name = "sht15",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = sht15_probe,
|
||||
.remove = sht15_remove,
|
||||
.remove = __devexit_p(sht15_remove),
|
||||
}, {
|
||||
.driver = {
|
||||
.name = "sht71",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = sht15_probe,
|
||||
.remove = sht15_remove,
|
||||
.remove = __devexit_p(sht15_remove),
|
||||
}, {
|
||||
.driver = {
|
||||
.name = "sht75",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = sht15_probe,
|
||||
.remove = sht15_remove,
|
||||
.remove = __devexit_p(sht15_remove),
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue