hwmon: remove use of __devexit_p
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:21:20 +0000 (13:21 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 19:48:59 +0000 (11:48 -0800)
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Alistair John Strachan <alistair@devzero.co.uk>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Juerg Haefliger <juergh@gmail.com>
Cc: Andreas Herrmann <herrmann.der.user@googlemail.com>
Cc: Clemens Ladisch <clemens@ladisch.de>
Cc: Rudolf Marek <r.marek@assembler.cz>
Cc: Jim Cromie <jim.cromie@gmail.com>
Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
Cc: Roger Lucas <vt8231@hiddenengine.co.uk>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
43 files changed:
drivers/hwmon/abituguru.c
drivers/hwmon/abituguru3.c
drivers/hwmon/ad7314.c
drivers/hwmon/ad7414.c
drivers/hwmon/adcxx.c
drivers/hwmon/ads7871.c
drivers/hwmon/adt7411.c
drivers/hwmon/coretemp.c
drivers/hwmon/da9052-hwmon.c
drivers/hwmon/dme1737.c
drivers/hwmon/f71805f.c
drivers/hwmon/fam15h_power.c
drivers/hwmon/gpio-fan.c
drivers/hwmon/hih6130.c
drivers/hwmon/i5k_amb.c
drivers/hwmon/it87.c
drivers/hwmon/jz4740-hwmon.c
drivers/hwmon/k10temp.c
drivers/hwmon/k8temp.c
drivers/hwmon/lm70.c
drivers/hwmon/lm78.c
drivers/hwmon/max1111.c
drivers/hwmon/max197.c
drivers/hwmon/mc13783-adc.c
drivers/hwmon/ntc_thermistor.c
drivers/hwmon/pc87360.c
drivers/hwmon/pc87427.c
drivers/hwmon/s3c-hwmon.c
drivers/hwmon/sht15.c
drivers/hwmon/sht21.c
drivers/hwmon/sis5595.c
drivers/hwmon/smsc47b397.c
drivers/hwmon/tmp102.c
drivers/hwmon/ultra45_env.c
drivers/hwmon/via-cputemp.c
drivers/hwmon/via686a.c
drivers/hwmon/vt1211.c
drivers/hwmon/vt8231.c
drivers/hwmon/w83627ehf.c
drivers/hwmon/w83627hf.c
drivers/hwmon/w83781d.c
drivers/hwmon/wm831x-hwmon.c
drivers/hwmon/wm8350-hwmon.c

index 78b8179..d12c3fb 100644 (file)
@@ -1545,7 +1545,7 @@ static struct platform_driver abituguru_driver = {
                .pm     = ABIT_UGURU_PM,
        },
        .probe          = abituguru_probe,
-       .remove         = __devexit_p(abituguru_remove),
+       .remove         = abituguru_remove,
 };
 
 static int __init abituguru_detect(void)
index b174b8b..56a8075 100644 (file)
@@ -1171,7 +1171,7 @@ static struct platform_driver abituguru3_driver = {
                .pm     = ABIT_UGURU3_PM
        },
        .probe  = abituguru3_probe,
-       .remove = __devexit_p(abituguru3_remove),
+       .remove = abituguru3_remove,
 };
 
 static int __init abituguru3_dmi_detect(void)
index 37c01e7..fdda321 100644 (file)
@@ -159,7 +159,7 @@ static struct spi_driver ad7314_driver = {
                .owner = THIS_MODULE,
        },
        .probe = ad7314_probe,
-       .remove = __devexit_p(ad7314_remove),
+       .remove = ad7314_remove,
        .id_table = ad7314_id,
 };
 
index b420fb3..20276ca 100644 (file)
@@ -246,7 +246,7 @@ static struct i2c_driver ad7414_driver = {
                .name   = "ad7414",
        },
        .probe  = ad7414_probe,
-       .remove = __devexit_p(ad7414_remove),
+       .remove = ad7414_remove,
        .id_table = ad7414_id,
 };
 
index f4c5867..dff6f4f 100644 (file)
@@ -240,7 +240,7 @@ static struct spi_driver adcxx_driver = {
        },
        .id_table = adcxx_ids,
        .probe  = adcxx_probe,
-       .remove = __devexit_p(adcxx_remove),
+       .remove = adcxx_remove,
 };
 
 module_spi_driver(adcxx_driver);
index 1b53aa4..5a6cc1f 100644 (file)
@@ -241,7 +241,7 @@ static struct spi_driver ads7871_driver = {
        },
 
        .probe = ads7871_probe,
-       .remove = __devexit_p(ads7871_remove),
+       .remove = ads7871_remove,
 };
 
 module_spi_driver(ads7871_driver);
index 517f185..a961af6 100644 (file)
@@ -337,7 +337,7 @@ static struct i2c_driver adt7411_driver = {
                .name           = "adt7411",
        },
        .probe  = adt7411_probe,
-       .remove = __devexit_p(adt7411_remove),
+       .remove = adt7411_remove,
        .id_table = adt7411_id,
        .detect = adt7411_detect,
        .address_list = normal_i2c,
index 47b8d84..5c0cdd3 100644 (file)
@@ -608,7 +608,7 @@ static struct platform_driver coretemp_driver = {
                .name = DRVNAME,
        },
        .probe = coretemp_probe,
-       .remove = __devexit_p(coretemp_remove),
+       .remove = coretemp_remove,
 };
 
 static int __cpuinit coretemp_device_add(unsigned int cpu)
index b8d01c5..ff28a2d 100644 (file)
@@ -328,7 +328,7 @@ static int __devexit da9052_hwmon_remove(struct platform_device *pdev)
 
 static struct platform_driver da9052_hwmon_driver = {
        .probe = da9052_hwmon_probe,
-       .remove = __devexit_p(da9052_hwmon_remove),
+       .remove = da9052_hwmon_remove,
        .driver = {
                .name = "da9052-hwmon",
                .owner = THIS_MODULE,
index fe0eeec..32f81ca 100644 (file)
@@ -2734,7 +2734,7 @@ static struct platform_driver dme1737_isa_driver = {
                .name = "dme1737",
        },
        .probe = dme1737_isa_probe,
-       .remove = __devexit_p(dme1737_isa_remove),
+       .remove = dme1737_isa_remove,
 };
 
 /* ---------------------------------------------------------------------
index 4dd7723..56860dd 100644 (file)
@@ -1510,7 +1510,7 @@ static struct platform_driver f71805f_driver = {
                .name   = DRVNAME,
        },
        .probe          = f71805f_probe,
-       .remove         = __devexit_p(f71805f_remove),
+       .remove         = f71805f_remove,
 };
 
 static int __init f71805f_device_add(unsigned short address,
index 4f41104..327fbc6 100644 (file)
@@ -256,7 +256,7 @@ static struct pci_driver fam15h_power_driver = {
        .name = "fam15h_power",
        .id_table = fam15h_power_id_table,
        .probe = fam15h_power_probe,
-       .remove = __devexit_p(fam15h_power_remove),
+       .remove = fam15h_power_remove,
        .resume = fam15h_power_resume,
 };
 
index 1381a2e..4b1767f 100644 (file)
@@ -626,7 +626,7 @@ static SIMPLE_DEV_PM_OPS(gpio_fan_pm, gpio_fan_suspend, gpio_fan_resume);
 
 static struct platform_driver gpio_fan_driver = {
        .probe          = gpio_fan_probe,
-       .remove         = __devexit_p(gpio_fan_remove),
+       .remove         = gpio_fan_remove,
        .driver = {
                .name   = "gpio-fan",
                .pm     = GPIO_FAN_PM,
index 9a675ef..9ebe24e 100644 (file)
@@ -283,7 +283,7 @@ MODULE_DEVICE_TABLE(i2c, hih6130_id);
 static struct i2c_driver hih6130_driver = {
        .driver.name = "hih6130",
        .probe       = hih6130_probe,
-       .remove      = __devexit_p(hih6130_remove),
+       .remove      = hih6130_remove,
        .id_table    = hih6130_id,
 };
 
index 46141ab..3fa3cc8 100644 (file)
@@ -587,7 +587,7 @@ static struct platform_driver i5k_amb_driver = {
                .name = DRVNAME,
        },
        .probe = i5k_amb_probe,
-       .remove = __devexit_p(i5k_amb_remove),
+       .remove = i5k_amb_remove,
 };
 
 static int __init i5k_amb_init(void)
index f1de397..2cb0da1 100644 (file)
@@ -443,7 +443,7 @@ static struct platform_driver it87_driver = {
                .name   = DRVNAME,
        },
        .probe  = it87_probe,
-       .remove = __devexit_p(it87_remove),
+       .remove = it87_remove,
 };
 
 static ssize_t show_in(struct device *dev, struct device_attribute *attr,
index dee9eec..fca0d37 100644 (file)
@@ -184,7 +184,7 @@ static int __devexit jz4740_hwmon_remove(struct platform_device *pdev)
 
 static struct platform_driver jz4740_hwmon_driver = {
        .probe  = jz4740_hwmon_probe,
-       .remove = __devexit_p(jz4740_hwmon_remove),
+       .remove = jz4740_hwmon_remove,
        .driver = {
                .name = "jz4740-hwmon",
                .owner = THIS_MODULE,
index f2fe807..2722cde 100644 (file)
@@ -219,7 +219,7 @@ static struct pci_driver k10temp_driver = {
        .name = "k10temp",
        .id_table = k10temp_id_table,
        .probe = k10temp_probe,
-       .remove = __devexit_p(k10temp_remove),
+       .remove = k10temp_remove,
 };
 
 module_pci_driver(k10temp_driver);
index e8c7fb0..143a2f8 100644 (file)
@@ -324,7 +324,7 @@ static struct pci_driver k8temp_driver = {
        .name = "k8temp",
        .id_table = k8temp_ids,
        .probe = k8temp_probe,
-       .remove = __devexit_p(k8temp_remove),
+       .remove = k8temp_remove,
 };
 
 module_pci_driver(k8temp_driver);
index 2d1777a..d3d5afd 100644 (file)
@@ -207,7 +207,7 @@ static struct spi_driver lm70_driver = {
        },
        .id_table = lm70_ids,
        .probe  = lm70_probe,
-       .remove = __devexit_p(lm70_remove),
+       .remove = lm70_remove,
 };
 
 module_spi_driver(lm70_driver);
index c6ffafe..1dc3433 100644 (file)
@@ -903,7 +903,7 @@ static struct platform_driver lm78_isa_driver = {
                .name   = "lm78",
        },
        .probe          = lm78_isa_probe,
-       .remove         = __devexit_p(lm78_isa_remove),
+       .remove         = lm78_isa_remove,
 };
 
 /* return 1 if a supported chip is found, 0 otherwise */
index b4eb088..5ac15b0 100644 (file)
@@ -283,7 +283,7 @@ static struct spi_driver max1111_driver = {
        },
        .id_table       = max1111_ids,
        .probe          = max1111_probe,
-       .remove         = __devexit_p(max1111_remove),
+       .remove         = max1111_remove,
 };
 
 module_spi_driver(max1111_driver);
index 6304f26..170e1b2 100644 (file)
@@ -339,7 +339,7 @@ static struct platform_driver max197_driver = {
                .owner = THIS_MODULE,
        },
        .probe = max197_probe,
-       .remove = __devexit_p(max197_remove),
+       .remove = max197_remove,
        .id_table = max197_device_ids,
 };
 module_platform_driver(max197_driver);
index cf47a59..50032ee 100644 (file)
@@ -265,7 +265,7 @@ static const struct platform_device_id mc13783_adc_idtable[] = {
 MODULE_DEVICE_TABLE(platform, mc13783_adc_idtable);
 
 static struct platform_driver mc13783_adc_driver = {
-       .remove         = __devexit_p(mc13783_adc_remove),
+       .remove         = mc13783_adc_remove,
        .driver         = {
                .owner  = THIS_MODULE,
                .name   = DRIVER_NAME,
index 74a6c58..dd23230 100644 (file)
@@ -419,7 +419,7 @@ static struct platform_driver ntc_thermistor_driver = {
                .owner = THIS_MODULE,
        },
        .probe = ntc_thermistor_probe,
-       .remove = __devexit_p(ntc_thermistor_remove),
+       .remove = ntc_thermistor_remove,
        .id_table = ntc_thermistor_id,
 };
 
index 91d5b2a..0785663 100644 (file)
@@ -248,7 +248,7 @@ static struct platform_driver pc87360_driver = {
                .name   = "pc87360",
        },
        .probe          = pc87360_probe,
-       .remove         = __devexit_p(pc87360_remove),
+       .remove         = pc87360_remove,
 };
 
 /*
index f185b1f..288a775 100644 (file)
@@ -1158,7 +1158,7 @@ static struct platform_driver pc87427_driver = {
                .name   = DRVNAME,
        },
        .probe          = pc87427_probe,
-       .remove         = __devexit_p(pc87427_remove),
+       .remove         = pc87427_remove,
 };
 
 static int __init pc87427_device_add(const struct pc87427_sio_data *sio_data)
index bcecd02..df405e3 100644 (file)
@@ -386,7 +386,7 @@ static struct platform_driver s3c_hwmon_driver = {
                .owner          = THIS_MODULE,
        },
        .probe          = s3c_hwmon_probe,
-       .remove         = __devexit_p(s3c_hwmon_remove),
+       .remove         = s3c_hwmon_remove,
 };
 
 module_platform_driver(s3c_hwmon_driver);
index 07a0c1a..32e3b29 100644 (file)
@@ -1043,7 +1043,7 @@ static struct platform_driver sht15_driver = {
                .owner = THIS_MODULE,
        },
        .probe = sht15_probe,
-       .remove = __devexit_p(sht15_remove),
+       .remove = sht15_remove,
        .id_table = sht15_device_ids,
 };
 module_platform_driver(sht15_driver);
index 5f67546..3ffd3b3 100644 (file)
@@ -253,7 +253,7 @@ MODULE_DEVICE_TABLE(i2c, sht21_id);
 static struct i2c_driver sht21_driver = {
        .driver.name = "sht21",
        .probe       = sht21_probe,
-       .remove      = __devexit_p(sht21_remove),
+       .remove      = sht21_remove,
        .id_table    = sht21_id,
 };
 
index 8275f0e..fb6b6ed 100644 (file)
@@ -217,7 +217,7 @@ static struct platform_driver sis5595_driver = {
                .name   = "sis5595",
        },
        .probe          = sis5595_probe,
-       .remove         = __devexit_p(sis5595_remove),
+       .remove         = sis5595_remove,
 };
 
 /* 4 Voltages */
index 65b07de..6edad30 100644 (file)
@@ -246,7 +246,7 @@ static struct platform_driver smsc47b397_driver = {
                .name   = DRVNAME,
        },
        .probe          = smsc47b397_probe,
-       .remove         = __devexit_p(smsc47b397_remove),
+       .remove         = smsc47b397_remove,
 };
 
 static int __devinit smsc47b397_probe(struct platform_device *pdev)
index b8777e5..ec11400 100644 (file)
@@ -283,7 +283,7 @@ static struct i2c_driver tmp102_driver = {
        .driver.name    = DRIVER_NAME,
        .driver.pm      = TMP102_DEV_PM_OPS,
        .probe          = tmp102_probe,
-       .remove         = __devexit_p(tmp102_remove),
+       .remove         = tmp102_remove,
        .id_table       = tmp102_id,
 };
 
index 44136bb..89747b8 100644 (file)
@@ -321,7 +321,7 @@ static struct platform_driver env_driver = {
                .of_match_table = env_match,
        },
        .probe          = env_probe,
-       .remove         = __devexit_p(env_remove),
+       .remove         = env_remove,
 };
 
 module_platform_driver(env_driver);
index 4cddee0..6021b7f 100644 (file)
@@ -209,7 +209,7 @@ static struct platform_driver via_cputemp_driver = {
                .name = DRVNAME,
        },
        .probe = via_cputemp_probe,
-       .remove = __devexit_p(via_cputemp_remove),
+       .remove = via_cputemp_remove,
 };
 
 struct pdev_entry {
index 299399a..b2c155d 100644 (file)
@@ -677,7 +677,7 @@ static struct platform_driver via686a_driver = {
                .name   = "via686a",
        },
        .probe          = via686a_probe,
-       .remove         = __devexit_p(via686a_remove),
+       .remove         = via686a_remove,
 };
 
 
index f2c6115..07ec260 100644 (file)
@@ -1233,7 +1233,7 @@ static struct platform_driver vt1211_driver = {
                .name  = DRVNAME,
        },
        .probe  = vt1211_probe,
-       .remove = __devexit_p(vt1211_remove),
+       .remove = vt1211_remove,
 };
 
 static int __init vt1211_device_add(unsigned short address)
index 84e3dc5..28f95bd 100644 (file)
@@ -762,7 +762,7 @@ static struct platform_driver vt8231_driver = {
                .name   = "vt8231",
        },
        .probe  = vt8231_probe,
-       .remove = __devexit_p(vt8231_remove),
+       .remove = vt8231_remove,
 };
 
 static DEFINE_PCI_DEVICE_TABLE(vt8231_pci_ids) = {
index de3c7e0..c7e0794 100644 (file)
@@ -2614,7 +2614,7 @@ static struct platform_driver w83627ehf_driver = {
                .name   = DRVNAME,
        },
        .probe          = w83627ehf_probe,
-       .remove         = __devexit_p(w83627ehf_remove),
+       .remove         = w83627ehf_remove,
 };
 
 /* w83627ehf_find() looks for a '627 in the Super-I/O config space */
index af15899..3aff015 100644 (file)
@@ -407,7 +407,7 @@ static struct platform_driver w83627hf_driver = {
                .name   = DRVNAME,
        },
        .probe          = w83627hf_probe,
-       .remove         = __devexit_p(w83627hf_remove),
+       .remove         = w83627hf_remove,
 };
 
 static ssize_t
index 20f11d3..becd9d6 100644 (file)
@@ -1842,7 +1842,7 @@ static struct platform_driver w83781d_isa_driver = {
                .name = "w83781d",
        },
        .probe = w83781d_isa_probe,
-       .remove = __devexit_p(w83781d_isa_remove),
+       .remove = w83781d_isa_remove,
 };
 
 /* return 1 if a supported chip is found, 0 otherwise */
index d0db1f2..d77bdf4 100644 (file)
@@ -201,7 +201,7 @@ static int __devexit wm831x_hwmon_remove(struct platform_device *pdev)
 
 static struct platform_driver wm831x_hwmon_driver = {
        .probe = wm831x_hwmon_probe,
-       .remove = __devexit_p(wm831x_hwmon_remove),
+       .remove = wm831x_hwmon_remove,
        .driver = {
                .name = "wm831x-hwmon",
                .owner = THIS_MODULE,
index b955756..9544485 100644 (file)
@@ -126,7 +126,7 @@ static int __devexit wm8350_hwmon_remove(struct platform_device *pdev)
 
 static struct platform_driver wm8350_hwmon_driver = {
        .probe = wm8350_hwmon_probe,
-       .remove = __devexit_p(wm8350_hwmon_remove),
+       .remove = wm8350_hwmon_remove,
        .driver = {
                .name = "wm8350-hwmon",
                .owner = THIS_MODULE,