Skip to content

Commit

Permalink
hwmon: Fix more __devexit_p glitches
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean Delvare committed Jun 15, 2009
1 parent 45e3e19 commit cd659fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion drivers/hwmon/f71882fg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
10 changes: 5 additions & 5 deletions drivers/hwmon/sht15.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
};

Expand Down

0 comments on commit cd659fd

Please sign in to comment.