drivers/misc: remove use of __devexit_p
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:21:23 +0000 (13:21 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 20:49:50 +0000 (12:49 -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: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
Cc: Wolfram Sang <w.sang@pengutronix.de>
Cc: Eric Piel <eric.piel@tremplin-utc.net>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25 files changed:
drivers/misc/ad525x_dpot-i2c.c
drivers/misc/ad525x_dpot-spi.c
drivers/misc/apds9802als.c
drivers/misc/apds990x.c
drivers/misc/atmel-ssc.c
drivers/misc/bh1770glc.c
drivers/misc/bh1780gli.c
drivers/misc/bmp085-i2c.c
drivers/misc/bmp085-spi.c
drivers/misc/cb710/core.c
drivers/misc/eeprom/at24.c
drivers/misc/eeprom/at25.c
drivers/misc/eeprom/eeprom_93xx46.c
drivers/misc/fsa9480.c
drivers/misc/hpilo.c
drivers/misc/ibmasm/module.c
drivers/misc/ioc4.c
drivers/misc/isl29003.c
drivers/misc/lis3lv02d/lis3lv02d_i2c.c
drivers/misc/lis3lv02d/lis3lv02d_spi.c
drivers/misc/pch_phub.c
drivers/misc/phantom.c
drivers/misc/pti.c
drivers/misc/ti_dac7512.c
drivers/misc/tsl2550.c

index 8208262..7254a98 100644 (file)
@@ -109,7 +109,7 @@ static struct i2c_driver ad_dpot_i2c_driver = {
                .owner  = THIS_MODULE,
        },
        .probe          = ad_dpot_i2c_probe,
-       .remove         = __devexit_p(ad_dpot_i2c_remove),
+       .remove         = ad_dpot_i2c_remove,
        .id_table       = ad_dpot_id,
 };
 
index f623175..67e3073 100644 (file)
@@ -131,7 +131,7 @@ static struct spi_driver ad_dpot_spi_driver = {
                .owner  = THIS_MODULE,
        },
        .probe          = ad_dpot_spi_probe,
-       .remove         = __devexit_p(ad_dpot_spi_remove),
+       .remove         = ad_dpot_spi_remove,
        .id_table       = ad_dpot_spi_id,
 };
 
index 94923d2..0132d15 100644 (file)
@@ -326,7 +326,7 @@ static struct i2c_driver apds9802als_driver = {
                .pm = APDS9802ALS_PM_OPS,
        },
        .probe = apds9802als_probe,
-       .remove = __devexit_p(apds9802als_remove),
+       .remove = apds9802als_remove,
        .suspend = apds9802als_suspend,
        .resume = apds9802als_resume,
        .id_table = apds9802als_id,
index ee74244..f955d54 100644 (file)
@@ -1275,7 +1275,7 @@ static struct i2c_driver apds990x_driver = {
                .pm     = &apds990x_pm_ops,
        },
        .probe    = apds990x_probe,
-       .remove   = __devexit_p(apds990x_remove),
+       .remove   = apds990x_remove,
        .id_table = apds990x_id,
 };
 
index 5bb1877..191c2ce 100644 (file)
@@ -152,7 +152,7 @@ static int __devexit ssc_remove(struct platform_device *pdev)
 }
 
 static struct platform_driver ssc_driver = {
-       .remove         = __devexit_p(ssc_remove),
+       .remove         = ssc_remove,
        .driver         = {
                .name           = "ssc",
                .owner          = THIS_MODULE,
index 3d56ae7..c4b65e2 100644 (file)
@@ -1395,7 +1395,7 @@ static struct i2c_driver bh1770_driver = {
                .pm     = &bh1770_pm_ops,
        },
        .probe    = bh1770_probe,
-       .remove   = __devexit_p(bh1770_remove),
+       .remove   = bh1770_remove,
        .id_table = bh1770_id,
 };
 
index f1f9877..54f6f39 100644 (file)
@@ -248,7 +248,7 @@ static const struct i2c_device_id bh1780_id[] = {
 
 static struct i2c_driver bh1780_driver = {
        .probe          = bh1780_probe,
-       .remove         = __devexit_p(bh1780_remove),
+       .remove         = bh1780_remove,
        .id_table       = bh1780_id,
        .driver = {
                .name = "bh1780",
index a4f33c9..08cd795 100644 (file)
@@ -71,7 +71,7 @@ static struct i2c_driver bmp085_i2c_driver = {
        },
        .id_table       = bmp085_id,
        .probe          = bmp085_i2c_probe,
-       .remove         = __devexit_p(bmp085_i2c_remove),
+       .remove         = bmp085_i2c_remove,
 
        .detect         = bmp085_i2c_detect,
        .address_list   = normal_i2c
index 5e982af..ed34885 100644 (file)
@@ -70,7 +70,7 @@ static struct spi_driver bmp085_spi_driver = {
        },
        .id_table       = bmp085_id,
        .probe          = bmp085_spi_probe,
-       .remove         = __devexit_p(bmp085_spi_remove)
+       .remove         = bmp085_spi_remove
 };
 
 module_spi_driver(bmp085_spi_driver);
index 9d5eed7..489c468 100644 (file)
@@ -332,7 +332,7 @@ static struct pci_driver cb710_driver = {
        .name = KBUILD_MODNAME,
        .id_table = cb710_pci_tbl,
        .probe = cb710_probe,
-       .remove = __devexit_p(cb710_remove_one),
+       .remove = cb710_remove_one,
 #ifdef CONFIG_PM
        .suspend = cb710_suspend,
        .resume = cb710_resume,
index ab1ad41..3c36997 100644 (file)
@@ -680,7 +680,7 @@ static struct i2c_driver at24_driver = {
                .owner = THIS_MODULE,
        },
        .probe = at24_probe,
-       .remove = __devexit_p(at24_remove),
+       .remove = at24_remove,
        .id_table = at24_ids,
 };
 
index 4ed93dd..fcb237e 100644 (file)
@@ -477,7 +477,7 @@ static struct spi_driver at25_driver = {
                .owner          = THIS_MODULE,
        },
        .probe          = at25_probe,
-       .remove         = __devexit_p(at25_remove),
+       .remove         = at25_remove,
 };
 
 module_spi_driver(at25_driver);
index ce3fe36..3dc14ea 100644 (file)
@@ -389,7 +389,7 @@ static struct spi_driver eeprom_93xx46_driver = {
                .owner  = THIS_MODULE,
        },
        .probe          = eeprom_93xx46_probe,
-       .remove         = __devexit_p(eeprom_93xx46_remove),
+       .remove         = eeprom_93xx46_remove,
 };
 
 module_spi_driver(eeprom_93xx46_driver);
index ac96c3a..38b52b9 100644 (file)
@@ -533,7 +533,7 @@ static struct i2c_driver fsa9480_i2c_driver = {
                .name = "fsa9480",
        },
        .probe = fsa9480_probe,
-       .remove = __devexit_p(fsa9480_remove),
+       .remove = fsa9480_remove,
        .resume = fsa9480_resume,
        .suspend = fsa9480_suspend,
        .id_table = fsa9480_id,
index b362d93..47a9ce6 100644 (file)
@@ -859,7 +859,7 @@ static struct pci_driver ilo_driver = {
        .name     = ILO_NAME,
        .id_table = ilo_devices,
        .probe    = ilo_probe,
-       .remove   = __devexit_p(ilo_remove),
+       .remove   = ilo_remove,
 };
 
 static int __init ilo_init(void)
index 168d800..f34a92f 100644 (file)
@@ -198,7 +198,7 @@ static struct pci_driver ibmasm_driver = {
        .name           = DRIVER_NAME,
        .id_table       = ibmasm_pci_table,
        .probe          = ibmasm_init_one,
-       .remove         = __devexit_p(ibmasm_remove_one),
+       .remove         = ibmasm_remove_one,
 };
 
 static void __exit ibmasm_exit (void)
index 6a77106..794a7e0 100644 (file)
@@ -466,7 +466,7 @@ static struct pci_driver ioc4_driver = {
        .name = "IOC4",
        .id_table = ioc4_id_table,
        .probe = ioc4_probe,
-       .remove = __devexit_p(ioc4_remove),
+       .remove = ioc4_remove,
 };
 
 MODULE_DEVICE_TABLE(pci, ioc4_id_table);
index eb5de2e..bef5307 100644 (file)
@@ -451,7 +451,7 @@ static struct i2c_driver isl29003_driver = {
        .suspend = isl29003_suspend,
        .resume = isl29003_resume,
        .probe  = isl29003_probe,
-       .remove = __devexit_p(isl29003_remove),
+       .remove = isl29003_remove,
        .id_table = isl29003_id,
 };
 
index 60ec868..403804c 100644 (file)
@@ -280,7 +280,7 @@ static struct i2c_driver lis3lv02d_i2c_driver = {
                .of_match_table = of_match_ptr(lis3lv02d_i2c_dt_ids),
        },
        .probe  = lis3lv02d_i2c_probe,
-       .remove = __devexit_p(lis3lv02d_i2c_remove),
+       .remove = lis3lv02d_i2c_remove,
        .id_table = lis3lv02d_id,
 };
 
index ccb6475..0e415c3 100644 (file)
@@ -144,7 +144,7 @@ static struct spi_driver lis302dl_spi_driver = {
                .of_match_table = of_match_ptr(lis302dl_spi_dt_ids),
        },
        .probe  = lis302dl_spi_probe,
-       .remove = __devexit_p(lis302dl_spi_remove),
+       .remove = lis302dl_spi_remove,
 };
 
 module_spi_driver(lis302dl_spi_driver);
index c9f20da..5581774 100644 (file)
@@ -888,7 +888,7 @@ static struct pci_driver pch_phub_driver = {
        .name = "pch_phub",
        .id_table = pch_phub_pcidev_id,
        .probe = pch_phub_probe,
-       .remove = __devexit_p(pch_phub_remove),
+       .remove = pch_phub_remove,
        .suspend = pch_phub_suspend,
        .resume = pch_phub_resume
 };
index 21b28fc..79038e9 100644 (file)
@@ -499,7 +499,7 @@ static struct pci_driver phantom_pci_driver = {
        .name = "phantom",
        .id_table = phantom_pci_tbl,
        .probe = phantom_probe,
-       .remove = __devexit_p(phantom_remove),
+       .remove = phantom_remove,
        .suspend = phantom_suspend,
        .resume = phantom_resume
 };
index 4999b34..3c5d746 100644 (file)
@@ -901,7 +901,7 @@ static struct pci_driver pti_pci_driver = {
        .name           = PCINAME,
        .id_table       = pci_ids,
        .probe          = pti_pci_probe,
-       .remove         = __devexit_p(pti_pci_remove),
+       .remove         = pti_pci_remove,
 };
 
 /**
index 5acbba1..85989ca 100644 (file)
@@ -79,7 +79,7 @@ static struct spi_driver dac7512_driver = {
                .owner  = THIS_MODULE,
        },
        .probe  = dac7512_probe,
-       .remove = __devexit_p(dac7512_remove),
+       .remove = dac7512_remove,
 };
 
 module_spi_driver(dac7512_driver);
index 0beb298..09ffb0b 100644 (file)
@@ -450,7 +450,7 @@ static struct i2c_driver tsl2550_driver = {
        .suspend = tsl2550_suspend,
        .resume = tsl2550_resume,
        .probe  = tsl2550_probe,
-       .remove = __devexit_p(tsl2550_remove),
+       .remove = tsl2550_remove,
        .id_table = tsl2550_id,
 };