Skip to content

Commit

Permalink
mfd: remove use of __devexit_p
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
wfp5p authored and gregkh committed Nov 28, 2012
1 parent b1f7c8c commit 8444921
Show file tree
Hide file tree
Showing 56 changed files with 56 additions and 56 deletions.
2 changes: 1 addition & 1 deletion drivers/mfd/88pm800.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/88pm805.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/88pm860x-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/ab3100-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/ab8500-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/ab8500-debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/ab8500-gpadc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/ab8500-sysctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/adp5520.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/arizona-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/arizona-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/asic3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/cs5535-mfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/da903x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/da9052-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/da9052-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/da9055-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/davinci_voicecodec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/ezx-pcap.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ static int __devinit ezx_pcap_probe(struct spi_device *spi)

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,
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/intel_msic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/janz-cmodio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/jz4740-adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/lm3533-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/lp8788.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/lpc_ich.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/lpc_sch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/max8925-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/mc13xxx-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/mc13xxx-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/omap-usb-tll.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/pcf50633-adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/pcf50633-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/pm8921-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/rc5t583.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/rdc321x-southbridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/sm501.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/stmpe-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/stmpe-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/syscon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/tc3589x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/tc6387xb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/tc6393xb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/ti-ssp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/timberdale.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading

0 comments on commit 8444921

Please sign in to comment.