mfd: remove use of __devexit_p
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:20:24 +0000 (13:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 20:16:42 +0000 (12:16 -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: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Cc: Peter Tyser <ptyser@xes-inc.com>
Cc: Daniel Walker <dwalker@fifo99.com>
Cc: Bryan Huntsman <bryanh@codeaurora.org>
Acked-by: David Brown <davidb@codeaurora.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
56 files changed:
drivers/mfd/88pm800.c
drivers/mfd/88pm805.c
drivers/mfd/88pm860x-core.c
drivers/mfd/ab3100-core.c
drivers/mfd/ab8500-core.c
drivers/mfd/ab8500-debugfs.c
drivers/mfd/ab8500-gpadc.c
drivers/mfd/ab8500-sysctrl.c
drivers/mfd/adp5520.c
drivers/mfd/arizona-i2c.c
drivers/mfd/arizona-spi.c
drivers/mfd/asic3.c
drivers/mfd/cs5535-mfd.c
drivers/mfd/da903x.c
drivers/mfd/da9052-i2c.c
drivers/mfd/da9052-spi.c
drivers/mfd/da9055-i2c.c
drivers/mfd/davinci_voicecodec.c
drivers/mfd/ezx-pcap.c
drivers/mfd/intel_msic.c
drivers/mfd/janz-cmodio.c
drivers/mfd/jz4740-adc.c
drivers/mfd/lm3533-core.c
drivers/mfd/lp8788.c
drivers/mfd/lpc_ich.c
drivers/mfd/lpc_sch.c
drivers/mfd/max8925-i2c.c
drivers/mfd/mc13xxx-i2c.c
drivers/mfd/mc13xxx-spi.c
drivers/mfd/omap-usb-tll.c
drivers/mfd/pcf50633-adc.c
drivers/mfd/pcf50633-core.c
drivers/mfd/pm8921-core.c
drivers/mfd/rc5t583.c
drivers/mfd/rdc321x-southbridge.c
drivers/mfd/sm501.c
drivers/mfd/stmpe-i2c.c
drivers/mfd/stmpe-spi.c
drivers/mfd/syscon.c
drivers/mfd/tc3589x.c
drivers/mfd/tc6387xb.c
drivers/mfd/tc6393xb.c
drivers/mfd/ti-ssp.c
drivers/mfd/timberdale.c
drivers/mfd/tps6105x.c
drivers/mfd/tps65090.c
drivers/mfd/tps65217.c
drivers/mfd/tps6586x.c
drivers/mfd/tps65910.c
drivers/mfd/tps65911-comparator.c
drivers/mfd/tps65912-spi.c
drivers/mfd/twl4030-audio.c
drivers/mfd/vx855.c
drivers/mfd/wl1273-core.c
drivers/mfd/wm831x-spi.c
drivers/mfd/wm8994-core.c

index ce229ea..321a50c 100644 (file)
@@ -576,7 +576,7 @@ static struct i2c_driver pm800_driver = {
                .pm = &pm80x_pm_ops,
                },
        .probe = pm800_probe,
-       .remove = __devexit_p(pm800_remove),
+       .remove = pm800_remove,
        .id_table = pm80x_id_table,
 };
 
index c20a311..41e0488 100644 (file)
@@ -281,7 +281,7 @@ static struct i2c_driver pm805_driver = {
                .pm = &pm80x_pm_ops,
                },
        .probe = pm805_probe,
-       .remove = __devexit_p(pm805_remove),
+       .remove = pm805_remove,
        .id_table = pm80x_id_table,
 };
 
index 8fa86ed..c2d5595 100644 (file)
@@ -1258,7 +1258,7 @@ static struct i2c_driver pm860x_driver = {
                .of_match_table = of_match_ptr(pm860x_dt_ids),
        },
        .probe          = pm860x_probe,
-       .remove         = __devexit_p(pm860x_remove),
+       .remove         = pm860x_remove,
        .id_table       = pm860x_id_table,
 };
 
index 2b3dde5..8355d4e 100644 (file)
@@ -986,7 +986,7 @@ static struct i2c_driver ab3100_driver = {
        },
        .id_table       = ab3100_id,
        .probe          = ab3100_probe,
-       .remove         = __devexit_p(ab3100_remove),
+       .remove         = ab3100_remove,
 };
 
 static int __init ab3100_i2c_init(void)
index 1667c77..01a0e01 100644 (file)
@@ -1506,7 +1506,7 @@ static struct platform_driver ab8500_core_driver = {
                .owner = THIS_MODULE,
        },
        .probe  = ab8500_probe,
-       .remove = __devexit_p(ab8500_remove),
+       .remove = ab8500_remove,
        .id_table = ab8500_id,
 };
 
index c4cb806..efdbc7b 100644 (file)
@@ -614,7 +614,7 @@ static struct platform_driver ab8500_debug_driver = {
                .owner = THIS_MODULE,
        },
        .probe  = ab8500_debug_probe,
-       .remove = __devexit_p(ab8500_debug_remove)
+       .remove = ab8500_debug_remove
 };
 
 static int __init ab8500_debug_init(void)
index 29d72a2..97daf61 100644 (file)
@@ -651,7 +651,7 @@ static int __devexit ab8500_gpadc_remove(struct platform_device *pdev)
 
 static struct platform_driver ab8500_gpadc_driver = {
        .probe = ab8500_gpadc_probe,
-       .remove = __devexit_p(ab8500_gpadc_remove),
+       .remove = ab8500_gpadc_remove,
        .driver = {
                .name = "ab8500-gpadc",
                .owner = THIS_MODULE,
index c28d4eb..d8cc157 100644 (file)
@@ -67,7 +67,7 @@ static struct platform_driver ab8500_sysctrl_driver = {
                .owner = THIS_MODULE,
        },
        .probe = ab8500_sysctrl_probe,
-       .remove = __devexit_p(ab8500_sysctrl_remove),
+       .remove = ab8500_sysctrl_remove,
 };
 
 static int __init ab8500_sysctrl_init(void)
index ea8b947..f664a52 100644 (file)
@@ -356,7 +356,7 @@ static struct i2c_driver adp5520_driver = {
                .pm     = &adp5520_pm,
        },
        .probe          = adp5520_probe,
-       .remove         = __devexit_p(adp5520_remove),
+       .remove         = adp5520_remove,
        .id_table       = adp5520_id,
 };
 
index 570c4b4..43d1647 100644 (file)
@@ -86,7 +86,7 @@ static struct i2c_driver arizona_i2c_driver = {
                .pm     = &arizona_pm_ops,
        },
        .probe          = arizona_i2c_probe,
-       .remove         = __devexit_p(arizona_i2c_remove),
+       .remove         = arizona_i2c_remove,
        .id_table       = arizona_i2c_id,
 };
 
index df2e5a8..cc79b82 100644 (file)
@@ -86,7 +86,7 @@ static struct spi_driver arizona_spi_driver = {
                .pm     = &arizona_pm_ops,
        },
        .probe          = arizona_spi_probe,
-       .remove         = __devexit_p(arizona_spi_remove),
+       .remove         = arizona_spi_remove,
        .id_table       = arizona_spi_ids,
 };
 
index 62f0883..b0720d7 100644 (file)
@@ -1071,7 +1071,7 @@ static struct platform_driver asic3_device_driver = {
        .driver         = {
                .name   = "asic3",
        },
-       .remove         = __devexit_p(asic3_remove),
+       .remove         = asic3_remove,
        .shutdown       = asic3_shutdown,
 };
 
index 2b28213..5d3878a 100644 (file)
@@ -183,7 +183,7 @@ static struct pci_driver cs5535_mfd_driver = {
        .name = DRV_NAME,
        .id_table = cs5535_mfd_pci_tbl,
        .probe = cs5535_mfd_probe,
-       .remove = __devexit_p(cs5535_mfd_remove),
+       .remove = cs5535_mfd_remove,
 };
 
 module_pci_driver(cs5535_mfd_driver);
index 1924b85..c715475 100644 (file)
@@ -560,7 +560,7 @@ static struct i2c_driver da903x_driver = {
                .owner  = THIS_MODULE,
        },
        .probe          = da903x_probe,
-       .remove         = __devexit_p(da903x_remove),
+       .remove         = da903x_remove,
        .id_table       = da903x_id_table,
 };
 
index 352c58b..8af0f0c 100644 (file)
@@ -131,7 +131,7 @@ static int __devexit da9052_i2c_remove(struct i2c_client *client)
 
 static struct i2c_driver da9052_i2c_driver = {
        .probe = da9052_i2c_probe,
-       .remove = __devexit_p(da9052_i2c_remove),
+       .remove = da9052_i2c_remove,
        .id_table = da9052_i2c_id,
        .driver = {
                .name = "da9052",
index dbeadc5..cbcc9be 100644 (file)
@@ -76,7 +76,7 @@ static struct spi_device_id da9052_spi_id[] = {
 
 static struct spi_driver da9052_spi_driver = {
        .probe = da9052_spi_probe,
-       .remove = __devexit_p(da9052_spi_remove),
+       .remove = da9052_spi_remove,
        .id_table = da9052_spi_id,
        .driver = {
                .name = "da9052",
index 88f6dca..dbaca7b 100644 (file)
@@ -60,7 +60,7 @@ static struct i2c_device_id da9055_i2c_id[] = {
 
 static struct i2c_driver da9055_i2c_driver = {
        .probe = da9055_i2c_probe,
-       .remove = __devexit_p(da9055_i2c_remove),
+       .remove = da9055_i2c_remove,
        .id_table = da9055_i2c_id,
        .driver = {
                .name = "da9055",
index 45e83a6..b2b0397 100644 (file)
@@ -174,7 +174,7 @@ static struct platform_driver davinci_vc_driver = {
                .name = "davinci_voicecodec",
                .owner = THIS_MODULE,
        },
-       .remove = __devexit_p(davinci_vc_remove),
+       .remove = davinci_vc_remove,
 };
 
 static int __init davinci_vc_init(void)
index db662e2..d7e4de0 100644 (file)
@@ -525,7 +525,7 @@ ret:
 
 static struct spi_driver ezxpcap_driver = {
        .probe  = ezx_pcap_probe,
-       .remove = __devexit_p(ezx_pcap_remove),
+       .remove = ezx_pcap_remove,
        .driver = {
                .name   = "ezx-pcap",
                .owner  = THIS_MODULE,
index 266bdc5..c5f478e 100644 (file)
@@ -457,7 +457,7 @@ static int __devexit intel_msic_remove(struct platform_device *pdev)
 
 static struct platform_driver intel_msic_driver = {
        .probe          = intel_msic_probe,
-       .remove         = __devexit_p(intel_msic_remove),
+       .remove         = intel_msic_remove,
        .driver         = {
                .name   = "intel_msic",
                .owner  = THIS_MODULE,
index 965c480..1a36277 100644 (file)
@@ -280,7 +280,7 @@ static struct pci_driver cmodio_pci_driver = {
        .name     = DRV_NAME,
        .id_table = cmodio_pci_ids,
        .probe    = cmodio_pci_probe,
-       .remove   = __devexit_p(cmodio_pci_remove),
+       .remove   = cmodio_pci_remove,
 };
 
 module_pci_driver(cmodio_pci_driver);
index c6b6d7d..9aed2a6 100644 (file)
@@ -332,7 +332,7 @@ static int __devexit jz4740_adc_remove(struct platform_device *pdev)
 
 static struct platform_driver jz4740_adc_driver = {
        .probe  = jz4740_adc_probe,
-       .remove = __devexit_p(jz4740_adc_remove),
+       .remove = jz4740_adc_remove,
        .driver = {
                .name = "jz4740-adc",
                .owner = THIS_MODULE,
index 24212f4..e7aa2a5 100644 (file)
@@ -648,7 +648,7 @@ static struct i2c_driver lm3533_i2c_driver = {
        },
        .id_table       = lm3533_i2c_ids,
        .probe          = lm3533_i2c_probe,
-       .remove         = __devexit_p(lm3533_i2c_remove),
+       .remove         = lm3533_i2c_remove,
 };
 
 static int __init lm3533_i2c_init(void)
index 3e94a69..e1d7c9f 100644 (file)
@@ -224,7 +224,7 @@ static struct i2c_driver lp8788_driver = {
                .owner = THIS_MODULE,
        },
        .probe = lp8788_probe,
-       .remove = __devexit_p(lp8788_remove),
+       .remove = lp8788_remove,
        .id_table = lp8788_ids,
 };
 
index a22544f..a43c73a 100644 (file)
@@ -888,7 +888,7 @@ static struct pci_driver lpc_ich_driver = {
        .name           = "lpc_ich",
        .id_table       = lpc_ich_ids,
        .probe          = lpc_ich_probe,
-       .remove         = __devexit_p(lpc_ich_remove),
+       .remove         = lpc_ich_remove,
 };
 
 static int __init lpc_ich_init(void)
index f6b9c5c..27477f4 100644 (file)
@@ -173,7 +173,7 @@ static struct pci_driver lpc_sch_driver = {
        .name           = "lpc_sch",
        .id_table       = lpc_sch_ids,
        .probe          = lpc_sch_probe,
-       .remove         = __devexit_p(lpc_sch_remove),
+       .remove         = lpc_sch_remove,
 };
 
 module_pci_driver(lpc_sch_driver);
index d9e4b36..375e047 100644 (file)
@@ -210,7 +210,7 @@ static struct i2c_driver max8925_driver = {
                .pm     = &max8925_pm_ops,
        },
        .probe          = max8925_probe,
-       .remove         = __devexit_p(max8925_remove),
+       .remove         = max8925_remove,
        .id_table       = max8925_id_table,
 };
 
index 9d18dde..4a605fb 100644 (file)
@@ -102,7 +102,7 @@ static struct i2c_driver mc13xxx_i2c_driver = {
                .of_match_table = mc13xxx_dt_ids,
        },
        .probe = mc13xxx_i2c_probe,
-       .remove = __devexit_p(mc13xxx_i2c_remove),
+       .remove = mc13xxx_i2c_remove,
 };
 
 static int __init mc13xxx_i2c_init(void)
index 0bdb43a..e7acd05 100644 (file)
@@ -176,7 +176,7 @@ static struct spi_driver mc13xxx_spi_driver = {
                .of_match_table = mc13xxx_dt_ids,
        },
        .probe = mc13xxx_spi_probe,
-       .remove = __devexit_p(mc13xxx_spi_remove),
+       .remove = mc13xxx_spi_remove,
 };
 
 static int __init mc13xxx_init(void)
index 4b7757b..2d8edfd 100644 (file)
@@ -424,7 +424,7 @@ static struct platform_driver usbtll_omap_driver = {
                .pm             = &usbtllomap_dev_pm_ops,
        },
        .probe          = usbtll_omap_probe,
-       .remove         = __devexit_p(usbtll_omap_remove),
+       .remove         = usbtll_omap_remove,
 };
 
 int omap_tll_enable(void)
index 3927c17..a285b51 100644 (file)
@@ -246,7 +246,7 @@ static struct platform_driver pcf50633_adc_driver = {
                .name = "pcf50633-adc",
        },
        .probe = pcf50633_adc_probe,
-       .remove = __devexit_p(pcf50633_adc_remove),
+       .remove = pcf50633_adc_remove,
 };
 
 module_platform_driver(pcf50633_adc_driver);
index 45ce1fb..ad438e8 100644 (file)
@@ -308,7 +308,7 @@ static struct i2c_driver pcf50633_driver = {
        },
        .id_table = pcf50633_id_table,
        .probe = pcf50633_probe,
-       .remove = __devexit_p(pcf50633_remove),
+       .remove = pcf50633_remove,
 };
 
 static int __init pcf50633_init(void)
index e873b15..24d57bc 100644 (file)
@@ -187,7 +187,7 @@ static int __devexit pm8921_remove(struct platform_device *pdev)
 
 static struct platform_driver pm8921_driver = {
        .probe          = pm8921_probe,
-       .remove         = __devexit_p(pm8921_remove),
+       .remove         = pm8921_remove,
        .driver         = {
                .name   = "pm8921-core",
                .owner  = THIS_MODULE,
index f1a024e..d38ee24 100644 (file)
@@ -325,7 +325,7 @@ static struct i2c_driver rc5t583_i2c_driver = {
                   .owner = THIS_MODULE,
                   },
        .probe = rc5t583_i2c_probe,
-       .remove = __devexit_p(rc5t583_i2c_remove),
+       .remove = rc5t583_i2c_remove,
        .id_table = rc5t583_i2c_id,
 };
 
index fbabc3c..3303963 100644 (file)
@@ -106,7 +106,7 @@ static struct pci_driver rdc321x_sb_driver = {
        .name           = "RDC321x Southbridge",
        .id_table       = rdc321x_sb_table,
        .probe          = rdc321x_sb_probe,
-       .remove         = __devexit_p(rdc321x_sb_remove),
+       .remove         = rdc321x_sb_remove,
 };
 
 module_pci_driver(rdc321x_sb_driver);
index d927dd4..777af5e 100644 (file)
@@ -1723,7 +1723,7 @@ static struct pci_driver sm501_pci_driver = {
        .name           = "sm501",
        .id_table       = sm501_pci_tbl,
        .probe          = sm501_pci_probe,
-       .remove         = __devexit_p(sm501_pci_remove),
+       .remove         = sm501_pci_remove,
 };
 
 MODULE_ALIAS("platform:sm501");
index 947a06a..6a6aed7 100644 (file)
@@ -88,7 +88,7 @@ static struct i2c_driver stmpe_i2c_driver = {
        .driver.pm      = &stmpe_dev_pm_ops,
 #endif
        .probe          = stmpe_i2c_probe,
-       .remove         = __devexit_p(stmpe_i2c_remove),
+       .remove         = stmpe_i2c_remove,
        .id_table       = stmpe_i2c_id,
 };
 
index 9edfe86..29590ad 100644 (file)
@@ -128,7 +128,7 @@ static struct spi_driver stmpe_spi_driver = {
 #endif
        },
        .probe          = stmpe_spi_probe,
-       .remove         = __devexit_p(stmpe_spi_remove),
+       .remove         = stmpe_spi_remove,
        .id_table       = stmpe_spi_id,
 };
 
index 65fe609..d258b59 100644 (file)
@@ -156,7 +156,7 @@ static struct platform_driver syscon_driver = {
                .of_match_table = of_syscon_match,
        },
        .probe          = syscon_probe,
-       .remove         = __devexit_p(syscon_remove),
+       .remove         = syscon_remove,
 };
 
 static int __init syscon_init(void)
index 8f4c853..553ce95 100644 (file)
@@ -458,7 +458,7 @@ static struct i2c_driver tc3589x_driver = {
        .driver.owner   = THIS_MODULE,
        .driver.pm      = &tc3589x_dev_pm_ops,
        .probe          = tc3589x_probe,
-       .remove         = __devexit_p(tc3589x_remove),
+       .remove         = tc3589x_remove,
        .id_table       = tc3589x_id,
 };
 
index 413c891..186f053 100644 (file)
@@ -229,7 +229,7 @@ static struct platform_driver tc6387xb_platform_driver = {
                .name           = "tc6387xb",
        },
        .probe          = tc6387xb_probe,
-       .remove         = __devexit_p(tc6387xb_remove),
+       .remove         = tc6387xb_remove,
        .suspend        = tc6387xb_suspend,
        .resume         = tc6387xb_resume,
 };
index dcab026..9411a88 100644 (file)
@@ -831,7 +831,7 @@ static int tc6393xb_resume(struct platform_device *dev)
 
 static struct platform_driver tc6393xb_driver = {
        .probe = tc6393xb_probe,
-       .remove = __devexit_p(tc6393xb_remove),
+       .remove = tc6393xb_remove,
        .suspend = tc6393xb_suspend,
        .resume = tc6393xb_resume,
 
index 7c3675a..1c31f87 100644 (file)
@@ -451,7 +451,7 @@ static int __devexit ti_ssp_remove(struct platform_device *pdev)
 
 static struct platform_driver ti_ssp_driver = {
        .probe          = ti_ssp_probe,
-       .remove         = __devexit_p(ti_ssp_remove),
+       .remove         = ti_ssp_remove,
        .driver         = {
                .name   = "ti-ssp",
                .owner  = THIS_MODULE,
index cccc626..61badec 100644 (file)
@@ -867,7 +867,7 @@ static struct pci_driver timberdale_pci_driver = {
        .name = DRIVER_NAME,
        .id_table = timberdale_pci_tbl,
        .probe = timb_probe,
-       .remove = __devexit_p(timb_remove),
+       .remove = timb_remove,
 };
 
 static int __init timberdale_init(void)
index 14051bd..4538960 100644 (file)
@@ -226,7 +226,7 @@ static struct i2c_driver tps6105x_driver = {
                .name   = "tps6105x",
        },
        .probe          = tps6105x_probe,
-       .remove         = __devexit_p(tps6105x_remove),
+       .remove         = tps6105x_remove,
        .id_table       = tps6105x_id,
 };
 
index 074ae32..d43ff16 100644 (file)
@@ -354,7 +354,7 @@ static struct i2c_driver tps65090_driver = {
                .pm     = &tps65090_pm_ops,
        },
        .probe          = tps65090_i2c_probe,
-       .remove         = __devexit_p(tps65090_i2c_remove),
+       .remove         = tps65090_i2c_remove,
        .id_table       = tps65090_id_table,
 };
 
index 3fb32e6..76360c1 100644 (file)
@@ -237,7 +237,7 @@ static struct i2c_driver tps65217_driver = {
        },
        .id_table       = tps65217_id_table,
        .probe          = tps65217_probe,
-       .remove         = __devexit_p(tps65217_remove),
+       .remove         = tps65217_remove,
 };
 
 static int __init tps65217_init(void)
index 4674643..a2e226f 100644 (file)
@@ -572,7 +572,7 @@ static struct i2c_driver tps6586x_driver = {
                .of_match_table = of_match_ptr(tps6586x_of_match),
        },
        .probe          = tps6586x_i2c_probe,
-       .remove         = __devexit_p(tps6586x_i2c_remove),
+       .remove         = tps6586x_i2c_remove,
        .id_table       = tps6586x_id_table,
 };
 
index 0d79ce2..a3d732b 100644 (file)
@@ -327,7 +327,7 @@ static struct i2c_driver tps65910_i2c_driver = {
                   .of_match_table = of_match_ptr(tps65910_of_match),
        },
        .probe = tps65910_i2c_probe,
-       .remove = __devexit_p(tps65910_i2c_remove),
+       .remove = tps65910_i2c_remove,
        .id_table = tps65910_i2c_id,
 };
 
index 0b6e361..a025587 100644 (file)
@@ -169,7 +169,7 @@ static struct platform_driver tps65911_comparator_driver = {
                .owner = THIS_MODULE,
        },
        .probe = tps65911_comparator_probe,
-       .remove = __devexit_p(tps65911_comparator_remove),
+       .remove = tps65911_comparator_remove,
 };
 
 static int __init tps65911_comparator_init(void)
index 27d3302..054315d 100644 (file)
@@ -114,7 +114,7 @@ static struct spi_driver tps65912_spi_driver = {
                .owner = THIS_MODULE,
        },
        .probe  = tps65912_spi_probe,
-       .remove = __devexit_p(tps65912_spi_remove),
+       .remove = tps65912_spi_remove,
 };
 
 static int __init tps65912_spi_init(void)
index 5c11acf..08f9905 100644 (file)
@@ -291,7 +291,7 @@ static struct platform_driver twl4030_audio_driver = {
                .of_match_table = twl4030_audio_of_match,
        },
        .probe          = twl4030_audio_probe,
-       .remove         = __devexit_p(twl4030_audio_remove),
+       .remove         = twl4030_audio_remove,
 };
 
 module_platform_driver(twl4030_audio_driver);
index b9a636d..c5a7df8 100644 (file)
@@ -128,7 +128,7 @@ static struct pci_driver vx855_pci_driver = {
        .name           = "vx855",
        .id_table       = vx855_pci_tbl,
        .probe          = vx855_probe,
-       .remove         = __devexit_p(vx855_remove),
+       .remove         = vx855_remove,
 };
 
 module_pci_driver(vx855_pci_driver);
index 86e0e43..7f3f389 100644 (file)
@@ -262,7 +262,7 @@ static struct i2c_driver wl1273_core_driver = {
        },
        .probe = wl1273_core_probe,
        .id_table = wl1273_driver_id_table,
-       .remove = __devexit_p(wl1273_core_remove),
+       .remove = wl1273_core_remove,
 };
 
 static int __init wl1273_core_init(void)
index 4bceee9..4329a3a 100644 (file)
@@ -99,7 +99,7 @@ static struct spi_driver wm831x_spi_driver = {
        },
        .id_table       = wm831x_spi_ids,
        .probe          = wm831x_spi_probe,
-       .remove         = __devexit_p(wm831x_spi_remove),
+       .remove         = wm831x_spi_remove,
        .shutdown       = wm831x_spi_shutdown,
 };
 
index 8fefc96..bb9cf52 100644 (file)
@@ -744,7 +744,7 @@ static struct i2c_driver wm8994_i2c_driver = {
                .of_match_table = wm8994_of_match,
        },
        .probe = wm8994_i2c_probe,
-       .remove = __devexit_p(wm8994_i2c_remove),
+       .remove = wm8994_i2c_remove,
        .id_table = wm8994_i2c_id,
 };