Input: remove use of __devexit_p
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:

committed by
Dmitry Torokhov

parent
58b45d166f
commit
1cb0aa8817
@@ -310,7 +310,7 @@ static struct platform_driver pm860x_touch_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = pm860x_touch_probe,
|
||||
.remove = __devexit_p(pm860x_touch_remove),
|
||||
.remove = pm860x_touch_remove,
|
||||
};
|
||||
module_platform_driver(pm860x_touch_driver);
|
||||
|
||||
|
@@ -857,7 +857,7 @@ static struct spi_driver ad7877_driver = {
|
||||
.pm = &ad7877_pm,
|
||||
},
|
||||
.probe = ad7877_probe,
|
||||
.remove = __devexit_p(ad7877_remove),
|
||||
.remove = ad7877_remove,
|
||||
};
|
||||
|
||||
module_spi_driver(ad7877_driver);
|
||||
|
@@ -98,7 +98,7 @@ static struct i2c_driver ad7879_i2c_driver = {
|
||||
.pm = &ad7879_pm_ops,
|
||||
},
|
||||
.probe = ad7879_i2c_probe,
|
||||
.remove = __devexit_p(ad7879_i2c_remove),
|
||||
.remove = ad7879_i2c_remove,
|
||||
.id_table = ad7879_id,
|
||||
};
|
||||
|
||||
|
@@ -154,7 +154,7 @@ static struct spi_driver ad7879_spi_driver = {
|
||||
.pm = &ad7879_pm_ops,
|
||||
},
|
||||
.probe = ad7879_spi_probe,
|
||||
.remove = __devexit_p(ad7879_spi_remove),
|
||||
.remove = ad7879_spi_remove,
|
||||
};
|
||||
|
||||
module_spi_driver(ad7879_spi_driver);
|
||||
|
@@ -1434,7 +1434,7 @@ static struct spi_driver ads7846_driver = {
|
||||
.pm = &ads7846_pm,
|
||||
},
|
||||
.probe = ads7846_probe,
|
||||
.remove = __devexit_p(ads7846_remove),
|
||||
.remove = ads7846_remove,
|
||||
};
|
||||
|
||||
module_spi_driver(ads7846_driver);
|
||||
|
@@ -1270,7 +1270,7 @@ static struct i2c_driver mxt_driver = {
|
||||
.pm = &mxt_pm_ops,
|
||||
},
|
||||
.probe = mxt_probe,
|
||||
.remove = __devexit_p(mxt_remove),
|
||||
.remove = mxt_remove,
|
||||
.id_table = mxt_id,
|
||||
};
|
||||
|
||||
|
@@ -346,7 +346,7 @@ static int __devexit atmel_tsadcc_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver atmel_tsadcc_driver = {
|
||||
.probe = atmel_tsadcc_probe,
|
||||
.remove = __devexit_p(atmel_tsadcc_remove),
|
||||
.remove = atmel_tsadcc_remove,
|
||||
.driver = {
|
||||
.name = "atmel_tsadcc",
|
||||
},
|
||||
|
@@ -631,7 +631,7 @@ static struct i2c_driver auo_pixcir_driver = {
|
||||
.pm = &auo_pixcir_pm_ops,
|
||||
},
|
||||
.probe = auo_pixcir_probe,
|
||||
.remove = __devexit_p(auo_pixcir_remove),
|
||||
.remove = auo_pixcir_remove,
|
||||
.id_table = auo_pixcir_idtable,
|
||||
};
|
||||
|
||||
|
@@ -649,7 +649,7 @@ static struct i2c_driver bu21013_driver = {
|
||||
#endif
|
||||
},
|
||||
.probe = bu21013_probe,
|
||||
.remove = __devexit_p(bu21013_remove),
|
||||
.remove = bu21013_remove,
|
||||
.id_table = bu21013_id,
|
||||
};
|
||||
|
||||
|
@@ -357,7 +357,7 @@ static struct i2c_driver cy8ctmg110_driver = {
|
||||
},
|
||||
.id_table = cy8ctmg110_idtable,
|
||||
.probe = cy8ctmg110_probe,
|
||||
.remove = __devexit_p(cy8ctmg110_remove),
|
||||
.remove = cy8ctmg110_remove,
|
||||
};
|
||||
|
||||
module_i2c_driver(cy8ctmg110_driver);
|
||||
|
@@ -124,7 +124,7 @@ static struct i2c_driver cyttsp_i2c_driver = {
|
||||
.pm = &cyttsp_pm_ops,
|
||||
},
|
||||
.probe = cyttsp_i2c_probe,
|
||||
.remove = __devexit_p(cyttsp_i2c_remove),
|
||||
.remove = cyttsp_i2c_remove,
|
||||
.id_table = cyttsp_i2c_id,
|
||||
};
|
||||
|
||||
|
@@ -188,7 +188,7 @@ static struct spi_driver cyttsp_spi_driver = {
|
||||
.pm = &cyttsp_pm_ops,
|
||||
},
|
||||
.probe = cyttsp_spi_probe,
|
||||
.remove = __devexit_p(cyttsp_spi_remove),
|
||||
.remove = cyttsp_spi_remove,
|
||||
};
|
||||
|
||||
module_spi_driver(cyttsp_spi_driver);
|
||||
|
@@ -377,7 +377,7 @@ static struct platform_driver da9034_touch_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = da9034_touch_probe,
|
||||
.remove = __devexit_p(da9034_touch_remove),
|
||||
.remove = da9034_touch_remove,
|
||||
};
|
||||
module_platform_driver(da9034_touch_driver);
|
||||
|
||||
|
@@ -355,7 +355,7 @@ static int __devexit da9052_ts_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver da9052_tsi_driver = {
|
||||
.probe = da9052_ts_probe,
|
||||
.remove = __devexit_p(da9052_ts_remove),
|
||||
.remove = da9052_ts_remove,
|
||||
.driver = {
|
||||
.name = "da9052-tsi",
|
||||
.owner = THIS_MODULE,
|
||||
|
@@ -883,7 +883,7 @@ static struct i2c_driver edt_ft5x06_ts_driver = {
|
||||
},
|
||||
.id_table = edt_ft5x06_ts_id,
|
||||
.probe = edt_ft5x06_ts_probe,
|
||||
.remove = __devexit_p(edt_ft5x06_ts_remove),
|
||||
.remove = edt_ft5x06_ts_remove,
|
||||
};
|
||||
|
||||
module_i2c_driver(edt_ft5x06_ts_driver);
|
||||
|
@@ -321,7 +321,7 @@ static struct i2c_driver eeti_ts_driver = {
|
||||
#endif
|
||||
},
|
||||
.probe = eeti_ts_probe,
|
||||
.remove = __devexit_p(eeti_ts_remove),
|
||||
.remove = eeti_ts_remove,
|
||||
.id_table = eeti_ts_id,
|
||||
};
|
||||
|
||||
|
@@ -301,7 +301,7 @@ static struct i2c_driver egalax_ts_driver = {
|
||||
},
|
||||
.id_table = egalax_ts_id,
|
||||
.probe = egalax_ts_probe,
|
||||
.remove = __devexit_p(egalax_ts_remove),
|
||||
.remove = egalax_ts_remove,
|
||||
};
|
||||
|
||||
module_i2c_driver(egalax_ts_driver);
|
||||
|
@@ -210,7 +210,7 @@ static int htcpen_isa_resume(struct device *dev, unsigned int n)
|
||||
|
||||
static struct isa_driver htcpen_isa_driver = {
|
||||
.probe = htcpen_isa_probe,
|
||||
.remove = __devexit_p(htcpen_isa_remove),
|
||||
.remove = htcpen_isa_remove,
|
||||
#ifdef CONFIG_PM
|
||||
.suspend = htcpen_isa_suspend,
|
||||
.resume = htcpen_isa_resume,
|
||||
|
@@ -350,7 +350,7 @@ static struct i2c_driver ili210x_ts_driver = {
|
||||
},
|
||||
.id_table = ili210x_i2c_id,
|
||||
.probe = ili210x_i2c_probe,
|
||||
.remove = __devexit_p(ili210x_i2c_remove),
|
||||
.remove = ili210x_i2c_remove,
|
||||
};
|
||||
|
||||
module_i2c_driver(ili210x_ts_driver);
|
||||
|
@@ -662,7 +662,7 @@ static struct platform_driver mrstouch_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = mrstouch_probe,
|
||||
.remove = __devexit_p(mrstouch_remove),
|
||||
.remove = mrstouch_remove,
|
||||
};
|
||||
module_platform_driver(mrstouch_driver);
|
||||
|
||||
|
@@ -168,7 +168,7 @@ MODULE_ALIAS("platform:jornada_ts");
|
||||
|
||||
static struct platform_driver jornada720_ts_driver = {
|
||||
.probe = jornada720_ts_probe,
|
||||
.remove = __devexit_p(jornada720_ts_remove),
|
||||
.remove = jornada720_ts_remove,
|
||||
.driver = {
|
||||
.name = "jornada_ts",
|
||||
.owner = THIS_MODULE,
|
||||
|
@@ -394,7 +394,7 @@ MODULE_DEVICE_TABLE(of, lpc32xx_tsc_of_match);
|
||||
|
||||
static struct platform_driver lpc32xx_ts_driver = {
|
||||
.probe = lpc32xx_ts_probe,
|
||||
.remove = __devexit_p(lpc32xx_ts_remove),
|
||||
.remove = lpc32xx_ts_remove,
|
||||
.driver = {
|
||||
.name = MOD_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
|
@@ -252,7 +252,7 @@ static struct i2c_driver max11801_ts_driver = {
|
||||
},
|
||||
.id_table = max11801_ts_id,
|
||||
.probe = max11801_ts_probe,
|
||||
.remove = __devexit_p(max11801_ts_remove),
|
||||
.remove = max11801_ts_remove,
|
||||
};
|
||||
|
||||
module_i2c_driver(max11801_ts_driver);
|
||||
|
@@ -243,7 +243,7 @@ static int __devexit mc13783_ts_remove(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
static struct platform_driver mc13783_ts_driver = {
|
||||
.remove = __devexit_p(mc13783_ts_remove),
|
||||
.remove = mc13783_ts_remove,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = MC13783_TS_NAME,
|
||||
|
@@ -292,7 +292,7 @@ MODULE_DEVICE_TABLE(i2c, mcs5000_ts_id);
|
||||
|
||||
static struct i2c_driver mcs5000_ts_driver = {
|
||||
.probe = mcs5000_ts_probe,
|
||||
.remove = __devexit_p(mcs5000_ts_remove),
|
||||
.remove = mcs5000_ts_remove,
|
||||
.driver = {
|
||||
.name = "mcs5000_ts",
|
||||
#ifdef CONFIG_PM
|
||||
|
@@ -590,7 +590,7 @@ static struct i2c_driver mms114_driver = {
|
||||
.of_match_table = of_match_ptr(mms114_dt_match),
|
||||
},
|
||||
.probe = mms114_probe,
|
||||
.remove = __devexit_p(mms114_remove),
|
||||
.remove = mms114_remove,
|
||||
.id_table = mms114_id,
|
||||
};
|
||||
|
||||
|
@@ -245,7 +245,7 @@ static const struct dev_pm_ops pcap_ts_pm_ops = {
|
||||
|
||||
static struct platform_driver pcap_ts_driver = {
|
||||
.probe = pcap_ts_probe,
|
||||
.remove = __devexit_p(pcap_ts_remove),
|
||||
.remove = pcap_ts_remove,
|
||||
.driver = {
|
||||
.name = "pcap-ts",
|
||||
.owner = THIS_MODULE,
|
||||
|
@@ -218,7 +218,7 @@ static struct i2c_driver pixcir_i2c_ts_driver = {
|
||||
.pm = &pixcir_dev_pm_ops,
|
||||
},
|
||||
.probe = pixcir_i2c_ts_probe,
|
||||
.remove = __devexit_p(pixcir_i2c_ts_remove),
|
||||
.remove = pixcir_i2c_ts_remove,
|
||||
.id_table = pixcir_i2c_ts_id,
|
||||
};
|
||||
|
||||
|
@@ -430,7 +430,7 @@ static struct platform_driver s3c_ts_driver = {
|
||||
},
|
||||
.id_table = s3cts_driver_ids,
|
||||
.probe = s3c2410ts_probe,
|
||||
.remove = __devexit_p(s3c2410ts_remove),
|
||||
.remove = s3c2410ts_remove,
|
||||
};
|
||||
module_platform_driver(s3c_ts_driver);
|
||||
|
||||
|
@@ -264,7 +264,7 @@ MODULE_DEVICE_TABLE(of, st1232_ts_dt_ids);
|
||||
|
||||
static struct i2c_driver st1232_ts_driver = {
|
||||
.probe = st1232_ts_probe,
|
||||
.remove = __devexit_p(st1232_ts_remove),
|
||||
.remove = st1232_ts_remove,
|
||||
.id_table = st1232_ts_id,
|
||||
.driver = {
|
||||
.name = ST1232_TS_NAME,
|
||||
|
@@ -386,7 +386,7 @@ static struct platform_driver stmpe_ts_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = stmpe_input_probe,
|
||||
.remove = __devexit_p(stmpe_ts_remove),
|
||||
.remove = stmpe_ts_remove,
|
||||
};
|
||||
module_platform_driver(stmpe_ts_driver);
|
||||
|
||||
|
@@ -374,7 +374,7 @@ static int __devexit tsc_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver tsc_driver = {
|
||||
.probe = tsc_probe,
|
||||
.remove = __devexit_p(tsc_remove),
|
||||
.remove = tsc_remove,
|
||||
.driver.name = "tnetv107x-ts",
|
||||
.driver.owner = THIS_MODULE,
|
||||
};
|
||||
|
@@ -367,7 +367,7 @@ static struct platform_driver tps6507x_ts_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = tps6507x_ts_probe,
|
||||
.remove = __devexit_p(tps6507x_ts_remove),
|
||||
.remove = tps6507x_ts_remove,
|
||||
};
|
||||
module_platform_driver(tps6507x_ts_driver);
|
||||
|
||||
|
@@ -745,7 +745,7 @@ static struct spi_driver tsc2005_driver = {
|
||||
.pm = &tsc2005_pm_ops,
|
||||
},
|
||||
.probe = tsc2005_probe,
|
||||
.remove = __devexit_p(tsc2005_remove),
|
||||
.remove = tsc2005_remove,
|
||||
};
|
||||
|
||||
module_spi_driver(tsc2005_driver);
|
||||
|
@@ -396,7 +396,7 @@ static struct i2c_driver tsc2007_driver = {
|
||||
},
|
||||
.id_table = tsc2007_idtable,
|
||||
.probe = tsc2007_probe,
|
||||
.remove = __devexit_p(tsc2007_remove),
|
||||
.remove = tsc2007_remove,
|
||||
};
|
||||
|
||||
module_i2c_driver(tsc2007_driver);
|
||||
|
@@ -442,7 +442,7 @@ static SIMPLE_DEV_PM_OPS(ucb1400_ts_pm_ops,
|
||||
|
||||
static struct platform_driver ucb1400_ts_driver = {
|
||||
.probe = ucb1400_ts_probe,
|
||||
.remove = __devexit_p(ucb1400_ts_remove),
|
||||
.remove = ucb1400_ts_remove,
|
||||
.driver = {
|
||||
.name = "ucb1400_ts",
|
||||
.owner = THIS_MODULE,
|
||||
|
@@ -325,7 +325,7 @@ static int __devexit w90x900ts_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver w90x900ts_driver = {
|
||||
.probe = w90x900ts_probe,
|
||||
.remove = __devexit_p(w90x900ts_remove),
|
||||
.remove = w90x900ts_remove,
|
||||
.driver = {
|
||||
.name = "nuc900-ts",
|
||||
.owner = THIS_MODULE,
|
||||
|
@@ -272,7 +272,7 @@ static struct i2c_driver wacom_i2c_driver = {
|
||||
},
|
||||
|
||||
.probe = wacom_i2c_probe,
|
||||
.remove = __devexit_p(wacom_i2c_remove),
|
||||
.remove = wacom_i2c_remove,
|
||||
.id_table = wacom_i2c_id,
|
||||
};
|
||||
module_i2c_driver(wacom_i2c_driver);
|
||||
|
@@ -398,7 +398,7 @@ static struct platform_driver wm831x_ts_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm831x_ts_probe,
|
||||
.remove = __devexit_p(wm831x_ts_remove),
|
||||
.remove = wm831x_ts_remove,
|
||||
};
|
||||
module_platform_driver(wm831x_ts_driver);
|
||||
|
||||
|
Reference in New Issue
Block a user