Input: remove use of __devexit
CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:

committed by
Dmitry Torokhov

parent
5298cc4cc7
commit
e2619cf78e
@@ -293,7 +293,7 @@ out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit pm860x_touch_remove(struct platform_device *pdev)
|
||||
static int pm860x_touch_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct pm860x_touch *touch = platform_get_drvdata(pdev);
|
||||
|
||||
|
@@ -810,7 +810,7 @@ err_free_mem:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit ad7877_remove(struct spi_device *spi)
|
||||
static int ad7877_remove(struct spi_device *spi)
|
||||
{
|
||||
struct ad7877 *ts = dev_get_drvdata(&spi->dev);
|
||||
|
||||
|
@@ -75,7 +75,7 @@ static int ad7879_i2c_probe(struct i2c_client *client,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit ad7879_i2c_remove(struct i2c_client *client)
|
||||
static int ad7879_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
struct ad7879 *ts = i2c_get_clientdata(client);
|
||||
|
||||
|
@@ -137,7 +137,7 @@ static int ad7879_spi_probe(struct spi_device *spi)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit ad7879_spi_remove(struct spi_device *spi)
|
||||
static int ad7879_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
struct ad7879 *ts = spi_get_drvdata(spi);
|
||||
|
||||
|
@@ -1390,7 +1390,7 @@ static int ads7846_probe(struct spi_device *spi)
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit ads7846_remove(struct spi_device *spi)
|
||||
static int ads7846_remove(struct spi_device *spi)
|
||||
{
|
||||
struct ads7846 *ts = dev_get_drvdata(&spi->dev);
|
||||
|
||||
|
@@ -1200,7 +1200,7 @@ err_free_mem:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit mxt_remove(struct i2c_client *client)
|
||||
static int mxt_remove(struct i2c_client *client)
|
||||
{
|
||||
struct mxt_data *data = i2c_get_clientdata(client);
|
||||
|
||||
|
@@ -323,7 +323,7 @@ err_free_mem:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit atmel_tsadcc_remove(struct platform_device *pdev)
|
||||
static int atmel_tsadcc_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct atmel_tsadcc *ts_dev = dev_get_drvdata(&pdev->dev);
|
||||
struct resource *res;
|
||||
|
@@ -599,7 +599,7 @@ err_gpio_int:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit auo_pixcir_remove(struct i2c_client *client)
|
||||
static int auo_pixcir_remove(struct i2c_client *client)
|
||||
{
|
||||
struct auo_pixcir_ts *ts = i2c_get_clientdata(client);
|
||||
const struct auo_pixcir_ts_platdata *pdata = client->dev.platform_data;
|
||||
|
@@ -549,7 +549,7 @@ err_free_mem:
|
||||
* This function uses to remove the i2c-client
|
||||
* touchscreen driver and returns integer.
|
||||
*/
|
||||
static int __devexit bu21013_remove(struct i2c_client *client)
|
||||
static int bu21013_remove(struct i2c_client *client)
|
||||
{
|
||||
struct bu21013_ts_data *bu21013_data = i2c_get_clientdata(client);
|
||||
|
||||
|
@@ -323,7 +323,7 @@ static int cy8ctmg110_resume(struct device *dev)
|
||||
static SIMPLE_DEV_PM_OPS(cy8ctmg110_pm, cy8ctmg110_suspend, cy8ctmg110_resume);
|
||||
#endif
|
||||
|
||||
static int __devexit cy8ctmg110_remove(struct i2c_client *client)
|
||||
static int cy8ctmg110_remove(struct i2c_client *client)
|
||||
{
|
||||
struct cy8ctmg110 *ts = i2c_get_clientdata(client);
|
||||
|
||||
|
@@ -102,7 +102,7 @@ static int cyttsp_i2c_probe(struct i2c_client *client,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit cyttsp_i2c_remove(struct i2c_client *client)
|
||||
static int cyttsp_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
struct cyttsp *ts = i2c_get_clientdata(client);
|
||||
|
||||
|
@@ -172,7 +172,7 @@ static int cyttsp_spi_probe(struct spi_device *spi)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit cyttsp_spi_remove(struct spi_device *spi)
|
||||
static int cyttsp_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
struct cyttsp *ts = spi_get_drvdata(spi);
|
||||
|
||||
|
@@ -361,7 +361,7 @@ err_free_touch:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit da9034_touch_remove(struct platform_device *pdev)
|
||||
static int da9034_touch_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct da9034_touch *touch = platform_get_drvdata(pdev);
|
||||
|
||||
|
@@ -336,7 +336,7 @@ err_free_mem:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit da9052_ts_remove(struct platform_device *pdev)
|
||||
static int da9052_ts_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct da9052_tsi *tsi = platform_get_drvdata(pdev);
|
||||
|
||||
|
@@ -592,7 +592,7 @@ edt_ft5x06_ts_prepare_debugfs(struct edt_ft5x06_ts_data *tsdata,
|
||||
tsdata->debug_dir, tsdata, &debugfs_raw_data_fops);
|
||||
}
|
||||
|
||||
static void __devexit
|
||||
static void
|
||||
edt_ft5x06_ts_teardown_debugfs(struct edt_ft5x06_ts_data *tsdata)
|
||||
{
|
||||
if (tsdata->debug_dir)
|
||||
@@ -822,7 +822,7 @@ err_free_mem:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit edt_ft5x06_ts_remove(struct i2c_client *client)
|
||||
static int edt_ft5x06_ts_remove(struct i2c_client *client)
|
||||
{
|
||||
const struct edt_ft5x06_platform_data *pdata =
|
||||
dev_get_platdata(&client->dev);
|
||||
|
@@ -248,7 +248,7 @@ err0:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit eeti_ts_remove(struct i2c_client *client)
|
||||
static int eeti_ts_remove(struct i2c_client *client)
|
||||
{
|
||||
struct eeti_ts_priv *priv = i2c_get_clientdata(client);
|
||||
|
||||
|
@@ -246,7 +246,7 @@ err_free_ts:
|
||||
return error;
|
||||
}
|
||||
|
||||
static __devexit int egalax_ts_remove(struct i2c_client *client)
|
||||
static int egalax_ts_remove(struct i2c_client *client)
|
||||
{
|
||||
struct egalax_ts *ts = i2c_get_clientdata(client);
|
||||
|
||||
|
@@ -174,7 +174,7 @@ static int htcpen_isa_probe(struct device *dev, unsigned int id)
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit htcpen_isa_remove(struct device *dev, unsigned int id)
|
||||
static int htcpen_isa_remove(struct device *dev, unsigned int id)
|
||||
{
|
||||
struct input_dev *htcpen_dev = dev_get_drvdata(dev);
|
||||
|
||||
|
@@ -298,7 +298,7 @@ err_free_mem:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit ili210x_i2c_remove(struct i2c_client *client)
|
||||
static int ili210x_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
struct ili210x *priv = i2c_get_clientdata(client);
|
||||
|
||||
|
@@ -643,7 +643,7 @@ err_free_mem:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit mrstouch_remove(struct platform_device *pdev)
|
||||
static int mrstouch_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct mrstouch_dev *tsdev = platform_get_drvdata(pdev);
|
||||
|
||||
|
@@ -151,7 +151,7 @@ static int jornada720_ts_probe(struct platform_device *pdev)
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit jornada720_ts_remove(struct platform_device *pdev)
|
||||
static int jornada720_ts_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct jornada_ts *jornada_ts = platform_get_drvdata(pdev);
|
||||
|
||||
|
@@ -309,7 +309,7 @@ err_free_mem:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit lpc32xx_ts_remove(struct platform_device *pdev)
|
||||
static int lpc32xx_ts_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct lpc32xx_tsc *tsc = platform_get_drvdata(pdev);
|
||||
struct resource *res;
|
||||
|
@@ -228,7 +228,7 @@ err_free_mem:
|
||||
return error;
|
||||
}
|
||||
|
||||
static __devexit int max11801_ts_remove(struct i2c_client *client)
|
||||
static int max11801_ts_remove(struct i2c_client *client)
|
||||
{
|
||||
struct max11801_data *data = i2c_get_clientdata(client);
|
||||
|
||||
|
@@ -229,7 +229,7 @@ err_free_mem:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit mc13783_ts_remove(struct platform_device *pdev)
|
||||
static int mc13783_ts_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct mc13783_ts_priv *priv = platform_get_drvdata(pdev);
|
||||
|
||||
|
@@ -249,7 +249,7 @@ err_free_mem:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit mcs5000_ts_remove(struct i2c_client *client)
|
||||
static int mcs5000_ts_remove(struct i2c_client *client)
|
||||
{
|
||||
struct mcs5000_ts_data *data = i2c_get_clientdata(client);
|
||||
|
||||
|
@@ -508,7 +508,7 @@ err_free_mem:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit mms114_remove(struct i2c_client *client)
|
||||
static int mms114_remove(struct i2c_client *client)
|
||||
{
|
||||
struct mms114_data *data = i2c_get_clientdata(client);
|
||||
|
||||
|
@@ -202,7 +202,7 @@ fail:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit pcap_ts_remove(struct platform_device *pdev)
|
||||
static int pcap_ts_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct pcap_ts *pcap_ts = platform_get_drvdata(pdev);
|
||||
|
||||
|
@@ -189,7 +189,7 @@ err_free_mem:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit pixcir_i2c_ts_remove(struct i2c_client *client)
|
||||
static int pixcir_i2c_ts_remove(struct i2c_client *client)
|
||||
{
|
||||
struct pixcir_i2c_ts_data *tsdata = i2c_get_clientdata(client);
|
||||
|
||||
|
@@ -365,7 +365,7 @@ static int s3c2410ts_probe(struct platform_device *pdev)
|
||||
*
|
||||
* Free up our state ready to be removed.
|
||||
*/
|
||||
static int __devexit s3c2410ts_remove(struct platform_device *pdev)
|
||||
static int s3c2410ts_remove(struct platform_device *pdev)
|
||||
{
|
||||
free_irq(ts.irq_tc, ts.input);
|
||||
del_timer_sync(&touch_timer);
|
||||
|
@@ -206,7 +206,7 @@ err_free_mem:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit st1232_ts_remove(struct i2c_client *client)
|
||||
static int st1232_ts_remove(struct i2c_client *client)
|
||||
{
|
||||
struct st1232_ts_data *ts = i2c_get_clientdata(client);
|
||||
|
||||
|
@@ -371,7 +371,7 @@ static int stmpe_input_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit stmpe_ts_remove(struct platform_device *pdev)
|
||||
static int stmpe_ts_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct stmpe_touch *ts = platform_get_drvdata(pdev);
|
||||
|
||||
|
@@ -357,7 +357,7 @@ error_res:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit tsc_remove(struct platform_device *pdev)
|
||||
static int tsc_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct tsc_data *ts = platform_get_drvdata(pdev);
|
||||
|
||||
|
@@ -345,7 +345,7 @@ err0:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit tps6507x_ts_remove(struct platform_device *pdev)
|
||||
static int tps6507x_ts_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct tps6507x_dev *tps6507x_dev = platform_get_drvdata(pdev);
|
||||
struct tps6507x_ts *tsc = tps6507x_dev->ts;
|
||||
|
@@ -686,7 +686,7 @@ err_free_mem:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit tsc2005_remove(struct spi_device *spi)
|
||||
static int tsc2005_remove(struct spi_device *spi)
|
||||
{
|
||||
struct tsc2005 *ts = spi_get_drvdata(spi);
|
||||
|
||||
|
@@ -366,7 +366,7 @@ static int tsc2007_probe(struct i2c_client *client,
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit tsc2007_remove(struct i2c_client *client)
|
||||
static int tsc2007_remove(struct i2c_client *client)
|
||||
{
|
||||
struct tsc2007 *ts = i2c_get_clientdata(client);
|
||||
struct tsc2007_platform_data *pdata = client->dev.platform_data;
|
||||
|
@@ -397,7 +397,7 @@ err:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit ucb1400_ts_remove(struct platform_device *pdev)
|
||||
static int ucb1400_ts_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct ucb1400_ts *ucb = pdev->dev.platform_data;
|
||||
|
||||
|
@@ -301,7 +301,7 @@ fail1: input_free_device(input_dev);
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit w90x900ts_remove(struct platform_device *pdev)
|
||||
static int w90x900ts_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct w90p910_ts *w90p910_ts = platform_get_drvdata(pdev);
|
||||
struct resource *res;
|
||||
|
@@ -225,7 +225,7 @@ err_free_mem:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit wacom_i2c_remove(struct i2c_client *client)
|
||||
static int wacom_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
struct wacom_i2c *wac_i2c = i2c_get_clientdata(client);
|
||||
|
||||
|
@@ -381,7 +381,7 @@ err_alloc:
|
||||
return error;
|
||||
}
|
||||
|
||||
static __devexit int wm831x_ts_remove(struct platform_device *pdev)
|
||||
static int wm831x_ts_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct wm831x_ts *wm831x_ts = platform_get_drvdata(pdev);
|
||||
|
||||
|
Reference in New Issue
Block a user