]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
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 78b81793ddd99c18bc98506aed4505aeeaca4726..d12c3fb25fada2e325d8f0d28fdf520ef6f9fc9c 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 b174b8b2b4dfedcc8bc8879f6f44b6825e6d8747..56a807554889ef03763ec10bfa367e47dd6e07af 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 37c01e72d6993609de58034a15d1bad42ce1279f..fdda321c60669c69072c16550a7470f6624129e3 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 b420fb3f3a71b78f66aec7991dea181f4f51d022..20276ca37ed85574ef35ad284496d95f512a04b6 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 f4c5867170d6ca14ad1d99ea0df77ae56a33392e..dff6f4f0dd718b7886f6324bd8029addbe3638cc 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 1b53aa42b6db9fd490cb6654d2560146070de9b4..5a6cc1f91ba72bc7f72a4c81b14491619e780b73 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 517f1856c706ba2f809d9a9eb6cf04b6fde925d2..a961af6147704957462544bdd0e068e84c3b1561 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 47b8d84b489ddb748bd0a3fea2b1aa2582be1002..5c0cdd385b1c1dfc4f6389dc677ae0547af9f9d7 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 b8d01c5f57131f0489659c2bdf3e31346bc64f90..ff28a2daa730b31287563261a9cb6e24dd4651ba 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 fe0eeec0b750d201c6626bdef439c3faf5b916fa..32f81ca3c197892362648af92ba83f84a9ad840f 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 4dd7723d257f55cab4114ba08596c0aa7579e826..56860dd23879a076a2656a9240fbf8cbab0fb257 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 4f4110407387fce21c4e58cdc76dfec6093b6183..327fbc6106efb20c13ef5372a2741df96c930cea 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 1381a2e3bbd4dc09dca9e74c87dd4ad2ce5ebc50..4b1767f95b03fb0589ad61a12cf61c50101cb0b0 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 9a675efaa78d65dd8e3ae8dde751b0fbf951f2ab..9ebe24e9220c6c4f59de9db564c2bf297df0d845 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 46141abaafba469ff1630f6665e0225d3268799c..3fa3cc8dd06157aa93b3315730d88b20f195ee0f 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 f1de3979181fd22517c1f068a57d4526cb0ce6e8..2cb0da1190c71a7ecb5f7fff36ce9173ae237ef1 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 dee9eec2036ee2060e39f4612f5a68bac53df8e2..fca0d3798ba67ff5f9431163f266f06b22e536e5 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 f2fe8078633b1d6fe996a69b518c3ad1987cff9f..2722cdecc79e8b8e339ae08661a9bee990e0152a 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 e8c7fb0bbf953e4bd3788a334df6517cc214374e..143a2f8079a319272477491d8ee2e454c3426e6c 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 2d1777a03edb645c4c39fed210efe34e659f8c11..d3d5afd95a5159bc8ce3ddda206358a8cebd8bd2 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 c6ffafe600ad30b8636d2197fe3276ce44fe0190..1dc3433d2acd248ab31484401c98c6f08141b88d 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 b4eb0889c465a95edd815b64e5d6666d53b8eeac..5ac15b07dc60de1d5788c8cdf09e8a3b34194849 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 6304f2616fa73128f556f2462c537f94dcf0a77a..170e1b28128baafa6785920ccf08e78cf79de5cf 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 cf47a59657a90612a4d7a621a5c69c7bbc2375a7..50032ee45a3b29f62aec0bea67d481283f48dad3 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 74a6c58d02187cd4dae86fa7c300a737c047c7a8..dd232307780daaf9799d710aaad8135c849390d1 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 91d5b2a21dd974d8be3c7bec19a8129c0971c9e6..07856630354bd2bb67a53adf579cd870a0e8d9ce 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 f185b1fa53e5eda188be4e57bc9272ac8c49abbc..288a775c6878a62d2ea816e6e547d2514c0d5315 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 bcecd025fcc442a9edcbcaf9c3fc41519b1308b5..df405e3696a9256f5ebd4a9bcbcba35e7668c850 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 07a0c1a0b84db29410943f7d4db77eaaf93fc1d2..32e3b29b19619cc74f10678d6e4e508c15e7b61c 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 5f67546950b1ebce2c4e59a92acded014445195a..3ffd3b3deb04b6fff1c73701e32033434642b256 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 8275f0e14eb75b88c63b3a5ae3e33deba529a8ed..fb6b6ed6accd3bf7573dfcf3935f6905160c5f1d 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 65b07de11a0f9ae0a41ef3f8bdcbc231fd28558d..6edad30be3e3222b31255f60a03a0883f2dc54c0 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 b8777e54190a4768033334813ac681cc8fed7e54..ec11400dc9804f828872f3b2d9870ecb68d2a6b5 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 44136bb6d045469de09f4eaf302a8085f8b07eb7..89747b8ac818691adbf51f4ae1c97a692b0ae465 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 4cddee04f2e6e4d02102fc1c74000d7d633a6a3f..6021b7f3e3647cc2a6185cfda7c702e440643df8 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 299399aa30fe383ebb486852c751d3e0246c2de1..b2c155d6939fd2adc7e10b09f8d94532e5347c7d 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 f2c61153dba92bdbfd9276ed30f4592cfa2c5961..07ec260abb43e954f6cc98548f44baca3942608b 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 84e3dc5e3a831b0748f02e5a54229a665040594b..28f95bdf035876fd3b0dc8a4ba4c9797362ac069 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 de3c7e04c3b5b21ae095f6f91308d1fb97eb6e64..c7e0794ce07213bfcb468ca565fc45b68d482a9f 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 af15899087095044c623b4ddf0aeadbb15ed8801..3aff01505c866dff7af0d94d6358a892562024e0 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 20f11d31da407f5545af8b7082187c518721522a..becd9d66c077579a9c1fcdf99285ff0d6dee769c 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 d0db1f2738fb39d0d4c76cd3b140f9aa7e2211ac..d77bdf4d11231ce669289de17284132887cf25c0 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 b955756bdb4221b87f6c7b5be4a45f7b7d6920d5..9544485cc8dd4900d4caa4fa72dd587a585a723b 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,