hwmon: Fix more __devexit_p glitches
authorJean Delvare <khali@linux-fr.org>
Mon, 15 Jun 2009 16:39:45 +0000 (18:39 +0200)
committerJean Delvare <khali@linux-fr.org>
Mon, 15 Jun 2009 16:39:45 +0000 (18:39 +0200)
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>
drivers/hwmon/f71882fg.c
drivers/hwmon/sht15.c

index 5f81ddf7150871e67c7fe3ff1647df7e01c6c2c5..4639b2a4b815020b951892b2e883ef6f0454a14f 100644 (file)
@@ -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);
index 6cbdc2fea7349cce363df97ed0000b0096ba38e4..56cd6004da36e1ec08f94e05b890f61239323c08 100644 (file)
@@ -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),
        },
 };