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:
parent
58b45d166f
commit
1cb0aa8817
|
@ -122,7 +122,7 @@ static struct pci_driver emu_driver = {
|
|||
.name = "Emu10k1_gameport",
|
||||
.id_table = emu_tbl,
|
||||
.probe = emu_probe,
|
||||
.remove = __devexit_p(emu_remove),
|
||||
.remove = emu_remove,
|
||||
};
|
||||
|
||||
module_pci_driver(emu_driver);
|
||||
|
|
|
@ -150,7 +150,7 @@ static struct pci_driver fm801_gp_driver = {
|
|||
.name = "FM801_gameport",
|
||||
.id_table = fm801_gp_id_table,
|
||||
.probe = fm801_gp_probe,
|
||||
.remove = __devexit_p(fm801_gp_remove),
|
||||
.remove = fm801_gp_remove,
|
||||
};
|
||||
|
||||
module_pci_driver(fm801_gp_driver);
|
||||
|
|
|
@ -366,7 +366,7 @@ static struct i2c_driver as5011_driver = {
|
|||
.name = "as5011",
|
||||
},
|
||||
.probe = as5011_probe,
|
||||
.remove = __devexit_p(as5011_remove),
|
||||
.remove = as5011_remove,
|
||||
.id_table = as5011_id,
|
||||
};
|
||||
|
||||
|
|
|
@ -175,7 +175,7 @@ static struct maple_driver dc_pad_driver = {
|
|||
.drv = {
|
||||
.name = "Dreamcast_controller",
|
||||
.probe = probe_maple_controller,
|
||||
.remove = __devexit_p(remove_maple_controller),
|
||||
.remove = remove_maple_controller,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -200,7 +200,7 @@ static struct platform_driver adp5520_keys_driver = {
|
|||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = adp5520_keys_probe,
|
||||
.remove = __devexit_p(adp5520_keys_remove),
|
||||
.remove = adp5520_keys_remove,
|
||||
};
|
||||
module_platform_driver(adp5520_keys_driver);
|
||||
|
||||
|
|
|
@ -650,7 +650,7 @@ static struct i2c_driver adp5588_driver = {
|
|||
#endif
|
||||
},
|
||||
.probe = adp5588_probe,
|
||||
.remove = __devexit_p(adp5588_remove),
|
||||
.remove = adp5588_remove,
|
||||
.id_table = adp5588_id,
|
||||
};
|
||||
|
||||
|
|
|
@ -1104,7 +1104,7 @@ static struct i2c_driver adp5589_driver = {
|
|||
.pm = &adp5589_dev_pm_ops,
|
||||
},
|
||||
.probe = adp5589_probe,
|
||||
.remove = __devexit_p(adp5589_remove),
|
||||
.remove = adp5589_remove,
|
||||
.id_table = adp5589_id,
|
||||
};
|
||||
|
||||
|
|
|
@ -390,7 +390,7 @@ static struct platform_driver bfin_kpad_device_driver = {
|
|||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = bfin_kpad_probe,
|
||||
.remove = __devexit_p(bfin_kpad_remove),
|
||||
.remove = bfin_kpad_remove,
|
||||
.suspend = bfin_kpad_suspend,
|
||||
.resume = bfin_kpad_resume,
|
||||
};
|
||||
|
|
|
@ -326,7 +326,7 @@ static struct platform_driver davinci_ks_driver = {
|
|||
.name = "davinci_keyscan",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.remove = __devexit_p(davinci_ks_remove),
|
||||
.remove = davinci_ks_remove,
|
||||
};
|
||||
|
||||
static int __init davinci_ks_init(void)
|
||||
|
|
|
@ -380,7 +380,7 @@ static struct platform_driver ep93xx_keypad_driver = {
|
|||
.pm = &ep93xx_keypad_pm_ops,
|
||||
},
|
||||
.probe = ep93xx_keypad_probe,
|
||||
.remove = __devexit_p(ep93xx_keypad_remove),
|
||||
.remove = ep93xx_keypad_remove,
|
||||
};
|
||||
module_platform_driver(ep93xx_keypad_driver);
|
||||
|
||||
|
|
|
@ -824,7 +824,7 @@ static SIMPLE_DEV_PM_OPS(gpio_keys_pm_ops, gpio_keys_suspend, gpio_keys_resume);
|
|||
|
||||
static struct platform_driver gpio_keys_device_driver = {
|
||||
.probe = gpio_keys_probe,
|
||||
.remove = __devexit_p(gpio_keys_remove),
|
||||
.remove = gpio_keys_remove,
|
||||
.driver = {
|
||||
.name = "gpio-keys",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -357,7 +357,7 @@ static int __devexit gpio_keys_polled_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver gpio_keys_polled_driver = {
|
||||
.probe = gpio_keys_polled_probe,
|
||||
.remove = __devexit_p(gpio_keys_polled_remove),
|
||||
.remove = gpio_keys_polled_remove,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -341,7 +341,7 @@ static struct parisc_driver hil_driver = {
|
|||
.name = "hil",
|
||||
.id_table = hil_tbl,
|
||||
.probe = hil_probe_chip,
|
||||
.remove = __devexit_p(hil_remove_chip),
|
||||
.remove = hil_remove_chip,
|
||||
};
|
||||
|
||||
static int __init hil_init(void)
|
||||
|
|
|
@ -632,7 +632,7 @@ static struct platform_driver imx_keypad_driver = {
|
|||
.pm = &imx_kbd_pm_ops,
|
||||
},
|
||||
.probe = imx_keypad_probe,
|
||||
.remove = __devexit_p(imx_keypad_remove),
|
||||
.remove = imx_keypad_remove,
|
||||
};
|
||||
module_platform_driver(imx_keypad_driver);
|
||||
|
||||
|
|
|
@ -258,7 +258,7 @@ static struct platform_driver jornada680kbd_driver = {
|
|||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = jornada680kbd_probe,
|
||||
.remove = __devexit_p(jornada680kbd_remove),
|
||||
.remove = jornada680kbd_remove,
|
||||
};
|
||||
module_platform_driver(jornada680kbd_driver);
|
||||
|
||||
|
|
|
@ -173,6 +173,6 @@ static struct platform_driver jornada720_kbd_driver = {
|
|||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = jornada720_kbd_probe,
|
||||
.remove = __devexit_p(jornada720_kbd_remove),
|
||||
.remove = jornada720_kbd_remove,
|
||||
};
|
||||
module_platform_driver(jornada720_kbd_driver);
|
||||
|
|
|
@ -846,7 +846,7 @@ static struct i2c_driver lm8323_i2c_driver = {
|
|||
.pm = &lm8323_pm_ops,
|
||||
},
|
||||
.probe = lm8323_probe,
|
||||
.remove = __devexit_p(lm8323_remove),
|
||||
.remove = lm8323_remove,
|
||||
.id_table = lm8323_id,
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, lm8323_id);
|
||||
|
|
|
@ -225,7 +225,7 @@ static struct i2c_driver lm8333_driver = {
|
|||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = lm8333_probe,
|
||||
.remove = __devexit_p(lm8333_remove),
|
||||
.remove = lm8333_remove,
|
||||
.id_table = lm8333_id,
|
||||
};
|
||||
module_i2c_driver(lm8333_driver);
|
||||
|
|
|
@ -345,7 +345,7 @@ static struct locomo_driver keyboard_driver = {
|
|||
},
|
||||
.devid = LOCOMO_DEVID_KEYBOARD,
|
||||
.probe = locomokbd_probe,
|
||||
.remove = __devexit_p(locomokbd_remove),
|
||||
.remove = locomokbd_remove,
|
||||
};
|
||||
|
||||
static int __init locomokbd_init(void)
|
||||
|
|
|
@ -377,7 +377,7 @@ MODULE_DEVICE_TABLE(of, lpc32xx_kscan_match);
|
|||
|
||||
static struct platform_driver lpc32xx_kscan_driver = {
|
||||
.probe = lpc32xx_kscan_probe,
|
||||
.remove = __devexit_p(lpc32xx_kscan_remove),
|
||||
.remove = lpc32xx_kscan_remove,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -564,7 +564,7 @@ MODULE_DEVICE_TABLE(of, matrix_keypad_dt_match);
|
|||
|
||||
static struct platform_driver matrix_keypad_driver = {
|
||||
.probe = matrix_keypad_probe,
|
||||
.remove = __devexit_p(matrix_keypad_remove),
|
||||
.remove = matrix_keypad_remove,
|
||||
.driver = {
|
||||
.name = "matrix-keypad",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -312,7 +312,7 @@ static struct i2c_driver max7359_i2c_driver = {
|
|||
.pm = &max7359_pm,
|
||||
},
|
||||
.probe = max7359_probe,
|
||||
.remove = __devexit_p(max7359_remove),
|
||||
.remove = max7359_remove,
|
||||
.id_table = max7359_ids,
|
||||
};
|
||||
|
||||
|
|
|
@ -270,7 +270,7 @@ static struct i2c_driver mcs_touchkey_driver = {
|
|||
.pm = &mcs_touchkey_pm_ops,
|
||||
},
|
||||
.probe = mcs_touchkey_probe,
|
||||
.remove = __devexit_p(mcs_touchkey_remove),
|
||||
.remove = mcs_touchkey_remove,
|
||||
.shutdown = mcs_touchkey_shutdown,
|
||||
.id_table = mcs_touchkey_id,
|
||||
};
|
||||
|
|
|
@ -327,7 +327,7 @@ static struct i2c_driver mpr_touchkey_driver = {
|
|||
},
|
||||
.id_table = mpr121_id,
|
||||
.probe = mpr_touchkey_probe,
|
||||
.remove = __devexit_p(mpr_touchkey_remove),
|
||||
.remove = mpr_touchkey_remove,
|
||||
};
|
||||
|
||||
module_i2c_driver(mpr_touchkey_driver);
|
||||
|
|
|
@ -427,7 +427,7 @@ static struct platform_driver ske_keypad_driver = {
|
|||
.owner = THIS_MODULE,
|
||||
.pm = &ske_keypad_dev_pm_ops,
|
||||
},
|
||||
.remove = __devexit_p(ske_keypad_remove),
|
||||
.remove = ske_keypad_remove,
|
||||
};
|
||||
|
||||
static int __init ske_keypad_init(void)
|
||||
|
|
|
@ -379,7 +379,7 @@ static int __devexit omap_kp_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver omap_kp_driver = {
|
||||
.probe = omap_kp_probe,
|
||||
.remove = __devexit_p(omap_kp_remove),
|
||||
.remove = omap_kp_remove,
|
||||
.suspend = omap_kp_suspend,
|
||||
.resume = omap_kp_resume,
|
||||
.driver = {
|
||||
|
|
|
@ -440,7 +440,7 @@ MODULE_DEVICE_TABLE(of, omap_keypad_dt_match);
|
|||
|
||||
static struct platform_driver omap4_keypad_driver = {
|
||||
.probe = omap4_keypad_probe,
|
||||
.remove = __devexit_p(omap4_keypad_remove),
|
||||
.remove = omap4_keypad_remove,
|
||||
.driver = {
|
||||
.name = "omap4-keypad",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -158,7 +158,7 @@ static int __devexit opencores_kbd_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver opencores_kbd_device_driver = {
|
||||
.probe = opencores_kbd_probe,
|
||||
.remove = __devexit_p(opencores_kbd_remove),
|
||||
.remove = opencores_kbd_remove,
|
||||
.driver = {
|
||||
.name = "opencores-kbd",
|
||||
},
|
||||
|
|
|
@ -773,7 +773,7 @@ static SIMPLE_DEV_PM_OPS(pm8xxx_kp_pm_ops,
|
|||
|
||||
static struct platform_driver pmic8xxx_kp_driver = {
|
||||
.probe = pmic8xxx_kp_probe,
|
||||
.remove = __devexit_p(pmic8xxx_kp_remove),
|
||||
.remove = pmic8xxx_kp_remove,
|
||||
.driver = {
|
||||
.name = PM8XXX_KEYPAD_DEV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -620,7 +620,7 @@ MODULE_ALIAS("platform:pxa27x-keypad");
|
|||
|
||||
static struct platform_driver pxa27x_keypad_driver = {
|
||||
.probe = pxa27x_keypad_probe,
|
||||
.remove = __devexit_p(pxa27x_keypad_remove),
|
||||
.remove = pxa27x_keypad_remove,
|
||||
.driver = {
|
||||
.name = "pxa27x-keypad",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -193,7 +193,7 @@ static struct platform_driver pxa930_rotary_driver = {
|
|||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = pxa930_rotary_probe,
|
||||
.remove = __devexit_p(pxa930_rotary_remove),
|
||||
.remove = pxa930_rotary_remove,
|
||||
};
|
||||
module_platform_driver(pxa930_rotary_driver);
|
||||
|
||||
|
|
|
@ -256,7 +256,7 @@ static struct i2c_driver qt1070_driver = {
|
|||
},
|
||||
.id_table = qt1070_id,
|
||||
.probe = qt1070_probe,
|
||||
.remove = __devexit_p(qt1070_remove),
|
||||
.remove = qt1070_remove,
|
||||
};
|
||||
|
||||
module_i2c_driver(qt1070_driver);
|
||||
|
|
|
@ -366,7 +366,7 @@ static struct i2c_driver qt2160_driver = {
|
|||
|
||||
.id_table = qt2160_idtable,
|
||||
.probe = qt2160_probe,
|
||||
.remove = __devexit_p(qt2160_remove),
|
||||
.remove = qt2160_remove,
|
||||
};
|
||||
|
||||
module_i2c_driver(qt2160_driver);
|
||||
|
|
|
@ -685,7 +685,7 @@ MODULE_DEVICE_TABLE(platform, samsung_keypad_driver_ids);
|
|||
|
||||
static struct platform_driver samsung_keypad_driver = {
|
||||
.probe = samsung_keypad_probe,
|
||||
.remove = __devexit_p(samsung_keypad_remove),
|
||||
.remove = samsung_keypad_remove,
|
||||
.driver = {
|
||||
.name = "samsung-keypad",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -331,7 +331,7 @@ static SIMPLE_DEV_PM_OPS(sh_keysc_dev_pm_ops,
|
|||
|
||||
static struct platform_driver sh_keysc_device_driver = {
|
||||
.probe = sh_keysc_probe,
|
||||
.remove = __devexit_p(sh_keysc_remove),
|
||||
.remove = sh_keysc_remove,
|
||||
.driver = {
|
||||
.name = "sh_keysc",
|
||||
.pm = &sh_keysc_dev_pm_ops,
|
||||
|
|
|
@ -381,7 +381,7 @@ MODULE_DEVICE_TABLE(of, spear_kbd_id_table);
|
|||
|
||||
static struct platform_driver spear_kbd_driver = {
|
||||
.probe = spear_kbd_probe,
|
||||
.remove = __devexit_p(spear_kbd_remove),
|
||||
.remove = spear_kbd_remove,
|
||||
.driver = {
|
||||
.name = "keyboard",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -348,7 +348,7 @@ static struct platform_driver stmpe_keypad_driver = {
|
|||
.driver.name = "stmpe-keypad",
|
||||
.driver.owner = THIS_MODULE,
|
||||
.probe = stmpe_keypad_probe,
|
||||
.remove = __devexit_p(stmpe_keypad_remove),
|
||||
.remove = stmpe_keypad_remove,
|
||||
};
|
||||
module_platform_driver(stmpe_keypad_driver);
|
||||
|
||||
|
|
|
@ -448,7 +448,7 @@ static struct platform_driver tc3589x_keypad_driver = {
|
|||
.pm = &tc3589x_keypad_dev_pm_ops,
|
||||
},
|
||||
.probe = tc3589x_keypad_probe,
|
||||
.remove = __devexit_p(tc3589x_keypad_remove),
|
||||
.remove = tc3589x_keypad_remove,
|
||||
};
|
||||
module_platform_driver(tc3589x_keypad_driver);
|
||||
|
||||
|
|
|
@ -361,7 +361,7 @@ static struct i2c_driver tca6416_keypad_driver = {
|
|||
.pm = &tca6416_keypad_dev_pm_ops,
|
||||
},
|
||||
.probe = tca6416_keypad_probe,
|
||||
.remove = __devexit_p(tca6416_keypad_remove),
|
||||
.remove = tca6416_keypad_remove,
|
||||
.id_table = tca6416_id,
|
||||
};
|
||||
|
||||
|
|
|
@ -408,7 +408,7 @@ static struct i2c_driver tca8418_keypad_driver = {
|
|||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = tca8418_keypad_probe,
|
||||
.remove = __devexit_p(tca8418_keypad_remove),
|
||||
.remove = tca8418_keypad_remove,
|
||||
.id_table = tca8418_id,
|
||||
};
|
||||
|
||||
|
|
|
@ -954,7 +954,7 @@ MODULE_DEVICE_TABLE(of, tegra_kbc_of_match);
|
|||
|
||||
static struct platform_driver tegra_kbc_driver = {
|
||||
.probe = tegra_kbc_probe,
|
||||
.remove = __devexit_p(tegra_kbc_remove),
|
||||
.remove = tegra_kbc_remove,
|
||||
.driver = {
|
||||
.name = "tegra-kbc",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -319,7 +319,7 @@ static int __devexit keypad_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver keypad_driver = {
|
||||
.probe = keypad_probe,
|
||||
.remove = __devexit_p(keypad_remove),
|
||||
.remove = keypad_remove,
|
||||
.driver.name = "tnetv107x-keypad",
|
||||
.driver.owner = THIS_MODULE,
|
||||
};
|
||||
|
|
|
@ -452,7 +452,7 @@ static int __devexit twl4030_kp_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver twl4030_kp_driver = {
|
||||
.probe = twl4030_kp_probe,
|
||||
.remove = __devexit_p(twl4030_kp_remove),
|
||||
.remove = twl4030_kp_remove,
|
||||
.driver = {
|
||||
.name = "twl4030_keypad",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -257,7 +257,7 @@ static int __devexit w90p910_keypad_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver w90p910_keypad_driver = {
|
||||
.probe = w90p910_keypad_probe,
|
||||
.remove = __devexit_p(w90p910_keypad_remove),
|
||||
.remove = w90p910_keypad_remove,
|
||||
.driver = {
|
||||
.name = "nuc900-kpi",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -157,7 +157,7 @@ static struct platform_driver pm80x_onkey_driver = {
|
|||
.pm = &pm80x_onkey_pm_ops,
|
||||
},
|
||||
.probe = pm80x_onkey_probe,
|
||||
.remove = __devexit_p(pm80x_onkey_remove),
|
||||
.remove = pm80x_onkey_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(pm80x_onkey_driver);
|
||||
|
|
|
@ -161,7 +161,7 @@ static struct platform_driver pm860x_onkey_driver = {
|
|||
.pm = &pm860x_onkey_pm_ops,
|
||||
},
|
||||
.probe = pm860x_onkey_probe,
|
||||
.remove = __devexit_p(pm860x_onkey_remove),
|
||||
.remove = pm860x_onkey_remove,
|
||||
};
|
||||
module_platform_driver(pm860x_onkey_driver);
|
||||
|
||||
|
|
|
@ -146,7 +146,7 @@ static struct platform_driver ab8500_ponkey_driver = {
|
|||
.of_match_table = of_match_ptr(ab8500_ponkey_match),
|
||||
},
|
||||
.probe = ab8500_ponkey_probe,
|
||||
.remove = __devexit_p(ab8500_ponkey_remove),
|
||||
.remove = ab8500_ponkey_remove,
|
||||
};
|
||||
module_platform_driver(ab8500_ponkey_driver);
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@ static struct i2c_driver ad714x_i2c_driver = {
|
|||
.pm = &ad714x_i2c_pm,
|
||||
},
|
||||
.probe = ad714x_i2c_probe,
|
||||
.remove = __devexit_p(ad714x_i2c_remove),
|
||||
.remove = ad714x_i2c_remove,
|
||||
.id_table = ad714x_id,
|
||||
};
|
||||
|
||||
|
|
|
@ -120,7 +120,7 @@ static struct spi_driver ad714x_spi_driver = {
|
|||
.pm = &ad714x_spi_pm,
|
||||
},
|
||||
.probe = ad714x_spi_probe,
|
||||
.remove = __devexit_p(ad714x_spi_remove),
|
||||
.remove = ad714x_spi_remove,
|
||||
};
|
||||
|
||||
module_spi_driver(ad714x_spi_driver);
|
||||
|
|
|
@ -144,7 +144,7 @@ static struct i2c_driver adxl34x_driver = {
|
|||
.pm = &adxl34x_i2c_pm,
|
||||
},
|
||||
.probe = adxl34x_i2c_probe,
|
||||
.remove = __devexit_p(adxl34x_i2c_remove),
|
||||
.remove = adxl34x_i2c_remove,
|
||||
.id_table = adxl34x_id,
|
||||
};
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@ static struct spi_driver adxl34x_driver = {
|
|||
.pm = &adxl34x_spi_pm,
|
||||
},
|
||||
.probe = adxl34x_spi_probe,
|
||||
.remove = __devexit_p(adxl34x_spi_remove),
|
||||
.remove = adxl34x_spi_remove,
|
||||
};
|
||||
|
||||
module_spi_driver(adxl34x_driver);
|
||||
|
|
|
@ -255,7 +255,7 @@ static const struct dev_pm_ops bfin_rotary_pm_ops = {
|
|||
|
||||
static struct platform_driver bfin_rotary_device_driver = {
|
||||
.probe = bfin_rotary_probe,
|
||||
.remove = __devexit_p(bfin_rotary_remove),
|
||||
.remove = bfin_rotary_remove,
|
||||
.driver = {
|
||||
.name = "bfin-rotary",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -670,7 +670,7 @@ static struct i2c_driver bma150_driver = {
|
|||
.class = I2C_CLASS_HWMON,
|
||||
.id_table = bma150_id,
|
||||
.probe = bma150_probe,
|
||||
.remove = __devexit_p(bma150_remove),
|
||||
.remove = bma150_remove,
|
||||
};
|
||||
|
||||
module_i2c_driver(bma150_driver);
|
||||
|
|
|
@ -114,7 +114,7 @@ MODULE_DEVICE_TABLE(i2c, cma3000_i2c_id);
|
|||
|
||||
static struct i2c_driver cma3000_i2c_driver = {
|
||||
.probe = cma3000_i2c_probe,
|
||||
.remove = __devexit_p(cma3000_i2c_remove),
|
||||
.remove = cma3000_i2c_remove,
|
||||
.id_table = cma3000_i2c_id,
|
||||
.driver = {
|
||||
.name = "cma3000_i2c_accl",
|
||||
|
|
|
@ -157,7 +157,7 @@ MODULE_ALIAS("platform:Cobalt buttons");
|
|||
|
||||
static struct platform_driver cobalt_buttons_driver = {
|
||||
.probe = cobalt_buttons_probe,
|
||||
.remove = __devexit_p(cobalt_buttons_remove),
|
||||
.remove = cobalt_buttons_remove,
|
||||
.driver = {
|
||||
.name = "Cobalt buttons",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -156,7 +156,7 @@ static int __devexit da9052_onkey_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver da9052_onkey_driver = {
|
||||
.probe = da9052_onkey_probe,
|
||||
.remove = __devexit_p(da9052_onkey_remove),
|
||||
.remove = da9052_onkey_remove,
|
||||
.driver = {
|
||||
.name = "da9052-onkey",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -156,7 +156,7 @@ static int __devexit da9055_onkey_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver da9055_onkey_driver = {
|
||||
.probe = da9055_onkey_probe,
|
||||
.remove = __devexit_p(da9055_onkey_remove),
|
||||
.remove = da9055_onkey_remove,
|
||||
.driver = {
|
||||
.name = "da9055-onkey",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -262,7 +262,7 @@ static int __devexit dm355evm_keys_remove(struct platform_device *pdev)
|
|||
*/
|
||||
static struct platform_driver dm355evm_keys_driver = {
|
||||
.probe = dm355evm_keys_probe,
|
||||
.remove = __devexit_p(dm355evm_keys_remove),
|
||||
.remove = dm355evm_keys_remove,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "dm355evm_keys",
|
||||
|
|
|
@ -277,7 +277,7 @@ static struct i2c_driver gp2a_i2c_driver = {
|
|||
.pm = &gp2a_pm,
|
||||
},
|
||||
.probe = gp2a_probe,
|
||||
.remove = __devexit_p(gp2a_remove),
|
||||
.remove = gp2a_remove,
|
||||
.id_table = gp2a_i2c_id,
|
||||
};
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@ static int __devexit gpio_tilt_polled_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver gpio_tilt_polled_driver = {
|
||||
.probe = gpio_tilt_polled_probe,
|
||||
.remove = __devexit_p(gpio_tilt_polled_remove),
|
||||
.remove = gpio_tilt_polled_remove,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -165,7 +165,7 @@ static struct platform_driver ixp4xx_spkr_platform_driver = {
|
|||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ixp4xx_spkr_probe,
|
||||
.remove = __devexit_p(ixp4xx_spkr_remove),
|
||||
.remove = ixp4xx_spkr_remove,
|
||||
.shutdown = ixp4xx_spkr_shutdown,
|
||||
};
|
||||
module_platform_driver(ixp4xx_spkr_platform_driver);
|
||||
|
|
|
@ -663,7 +663,7 @@ static struct i2c_driver kxtj9_driver = {
|
|||
.pm = &kxtj9_pm_ops,
|
||||
},
|
||||
.probe = kxtj9_probe,
|
||||
.remove = __devexit_p(kxtj9_remove),
|
||||
.remove = kxtj9_remove,
|
||||
.id_table = kxtj9_id,
|
||||
};
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ static struct platform_driver m68kspkr_platform_driver = {
|
|||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = m68kspkr_probe,
|
||||
.remove = __devexit_p(m68kspkr_remove),
|
||||
.remove = m68kspkr_remove,
|
||||
.shutdown = m68kspkr_shutdown,
|
||||
};
|
||||
|
||||
|
|
|
@ -195,7 +195,7 @@ static struct platform_driver max8925_onkey_driver = {
|
|||
.pm = &max8925_onkey_pm_ops,
|
||||
},
|
||||
.probe = max8925_onkey_probe,
|
||||
.remove = __devexit_p(max8925_onkey_remove),
|
||||
.remove = max8925_onkey_remove,
|
||||
};
|
||||
module_platform_driver(max8925_onkey_driver);
|
||||
|
||||
|
|
|
@ -396,7 +396,7 @@ static struct platform_driver max8997_haptic_driver = {
|
|||
.pm = &max8997_haptic_pm_ops,
|
||||
},
|
||||
.probe = max8997_haptic_probe,
|
||||
.remove = __devexit_p(max8997_haptic_remove),
|
||||
.remove = max8997_haptic_remove,
|
||||
.id_table = max8997_haptic_id,
|
||||
};
|
||||
module_platform_driver(max8997_haptic_driver);
|
||||
|
|
|
@ -257,7 +257,7 @@ static int __devexit mc13783_pwrbutton_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver mc13783_pwrbutton_driver = {
|
||||
.probe = mc13783_pwrbutton_probe,
|
||||
.remove = __devexit_p(mc13783_pwrbutton_remove),
|
||||
.remove = mc13783_pwrbutton_remove,
|
||||
.driver = {
|
||||
.name = "mc13783-pwrbutton",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -243,7 +243,7 @@ static struct i2c_driver mma8450_driver = {
|
|||
.of_match_table = mma8450_dt_ids,
|
||||
},
|
||||
.probe = mma8450_probe,
|
||||
.remove = __devexit_p(mma8450_remove),
|
||||
.remove = mma8450_remove,
|
||||
.id_table = mma8450_id,
|
||||
};
|
||||
|
||||
|
|
|
@ -471,7 +471,7 @@ static struct i2c_driver mpu3050_i2c_driver = {
|
|||
.of_match_table = mpu3050_of_match,
|
||||
},
|
||||
.probe = mpu3050_probe,
|
||||
.remove = __devexit_p(mpu3050_remove),
|
||||
.remove = mpu3050_remove,
|
||||
.id_table = mpu3050_ids,
|
||||
};
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@ static int __devexit pcap_keys_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver pcap_keys_device_driver = {
|
||||
.probe = pcap_keys_probe,
|
||||
.remove = __devexit_p(pcap_keys_remove),
|
||||
.remove = pcap_keys_remove,
|
||||
.driver = {
|
||||
.name = "pcap-keys",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -111,7 +111,7 @@ static struct platform_driver pcf50633_input_driver = {
|
|||
.name = "pcf50633-input",
|
||||
},
|
||||
.probe = pcf50633_input_probe,
|
||||
.remove = __devexit_p(pcf50633_input_remove),
|
||||
.remove = pcf50633_input_remove,
|
||||
};
|
||||
module_platform_driver(pcf50633_input_driver);
|
||||
|
||||
|
|
|
@ -212,7 +212,7 @@ static struct i2c_driver pcf8574_kp_driver = {
|
|||
#endif
|
||||
},
|
||||
.probe = pcf8574_kp_probe,
|
||||
.remove = __devexit_p(pcf8574_kp_remove),
|
||||
.remove = pcf8574_kp_remove,
|
||||
.id_table = pcf8574_kp_id,
|
||||
};
|
||||
|
||||
|
|
|
@ -131,7 +131,7 @@ static struct platform_driver pcspkr_platform_driver = {
|
|||
.pm = &pcspkr_pm_ops,
|
||||
},
|
||||
.probe = pcspkr_probe,
|
||||
.remove = __devexit_p(pcspkr_remove),
|
||||
.remove = pcspkr_remove,
|
||||
.shutdown = pcspkr_shutdown,
|
||||
};
|
||||
module_platform_driver(pcspkr_platform_driver);
|
||||
|
|
|
@ -270,7 +270,7 @@ static SIMPLE_DEV_PM_OPS(pm8xxx_vib_pm_ops, pm8xxx_vib_suspend, NULL);
|
|||
|
||||
static struct platform_driver pm8xxx_vib_driver = {
|
||||
.probe = pm8xxx_vib_probe,
|
||||
.remove = __devexit_p(pm8xxx_vib_remove),
|
||||
.remove = pm8xxx_vib_remove,
|
||||
.driver = {
|
||||
.name = "pm8xxx-vib",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -206,7 +206,7 @@ static int __devexit pmic8xxx_pwrkey_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver pmic8xxx_pwrkey_driver = {
|
||||
.probe = pmic8xxx_pwrkey_probe,
|
||||
.remove = __devexit_p(pmic8xxx_pwrkey_remove),
|
||||
.remove = pmic8xxx_pwrkey_remove,
|
||||
.driver = {
|
||||
.name = PM8XXX_PWRKEY_DEV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -184,7 +184,7 @@ static const struct of_device_id pwm_beeper_match[] = {
|
|||
|
||||
static struct platform_driver pwm_beeper_driver = {
|
||||
.probe = pwm_beeper_probe,
|
||||
.remove = __devexit_p(pwm_beeper_remove),
|
||||
.remove = pwm_beeper_remove,
|
||||
.driver = {
|
||||
.name = "pwm-beeper",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -94,7 +94,7 @@ static int __devexit rb532_button_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver rb532_button_driver = {
|
||||
.probe = rb532_button_probe,
|
||||
.remove = __devexit_p(rb532_button_remove),
|
||||
.remove = rb532_button_remove,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -83,7 +83,7 @@ static int __devexit retu_pwrbutton_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver retu_pwrbutton_driver = {
|
||||
.probe = retu_pwrbutton_probe,
|
||||
.remove = __devexit_p(retu_pwrbutton_remove),
|
||||
.remove = retu_pwrbutton_remove,
|
||||
.driver = {
|
||||
.name = "retu-pwrbutton",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -325,7 +325,7 @@ static int __devexit rotary_encoder_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver rotary_encoder_driver = {
|
||||
.probe = rotary_encoder_probe,
|
||||
.remove = __devexit_p(rotary_encoder_remove),
|
||||
.remove = rotary_encoder_remove,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -158,7 +158,7 @@ static int __devexit sgi_buttons_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver sgi_buttons_driver = {
|
||||
.probe = sgi_buttons_probe,
|
||||
.remove = __devexit_p(sgi_buttons_remove),
|
||||
.remove = sgi_buttons_remove,
|
||||
.driver = {
|
||||
.name = "sgibtns",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -263,7 +263,7 @@ static struct platform_driver bbc_beep_driver = {
|
|||
.of_match_table = bbc_beep_match,
|
||||
},
|
||||
.probe = bbc_beep_probe,
|
||||
.remove = __devexit_p(bbc_remove),
|
||||
.remove = bbc_remove,
|
||||
.shutdown = sparcspkr_shutdown,
|
||||
};
|
||||
|
||||
|
@ -345,7 +345,7 @@ static struct platform_driver grover_beep_driver = {
|
|||
.of_match_table = grover_beep_match,
|
||||
},
|
||||
.probe = grover_beep_probe,
|
||||
.remove = __devexit_p(grover_remove),
|
||||
.remove = grover_remove,
|
||||
.shutdown = sparcspkr_shutdown,
|
||||
};
|
||||
|
||||
|
|
|
@ -283,7 +283,7 @@ static int __devexit twl4030_vibra_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver twl4030_vibra_driver = {
|
||||
.probe = twl4030_vibra_probe,
|
||||
.remove = __devexit_p(twl4030_vibra_remove),
|
||||
.remove = twl4030_vibra_remove,
|
||||
.driver = {
|
||||
.name = "twl4030-vibra",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -433,7 +433,7 @@ static int __devexit twl6040_vibra_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver twl6040_vibra_driver = {
|
||||
.probe = twl6040_vibra_probe,
|
||||
.remove = __devexit_p(twl6040_vibra_remove),
|
||||
.remove = twl6040_vibra_remove,
|
||||
.driver = {
|
||||
.name = "twl6040-vibra",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -1334,7 +1334,7 @@ static struct platform_driver wistron_driver = {
|
|||
#endif
|
||||
},
|
||||
.probe = wistron_probe,
|
||||
.remove = __devexit_p(wistron_remove),
|
||||
.remove = wistron_remove,
|
||||
};
|
||||
|
||||
static int __init wb_module_init(void)
|
||||
|
|
|
@ -138,7 +138,7 @@ static int __devexit wm831x_on_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver wm831x_on_driver = {
|
||||
.probe = wm831x_on_probe,
|
||||
.remove = __devexit_p(wm831x_on_remove),
|
||||
.remove = wm831x_on_remove,
|
||||
.driver = {
|
||||
.name = "wm831x-on",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -172,7 +172,7 @@ static int __devexit gpio_mouse_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver gpio_mouse_device_driver = {
|
||||
.probe = gpio_mouse_probe,
|
||||
.remove = __devexit_p(gpio_mouse_remove),
|
||||
.remove = gpio_mouse_remove,
|
||||
.driver = {
|
||||
.name = "gpio_mouse",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -132,7 +132,7 @@ static struct maple_driver dc_mouse_driver = {
|
|||
.drv = {
|
||||
.name = "Dreamcast_mouse",
|
||||
.probe = probe_maple_mouse,
|
||||
.remove = __devexit_p(remove_maple_mouse),
|
||||
.remove = remove_maple_mouse,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -353,7 +353,7 @@ static SIMPLE_DEV_PM_OPS(navpoint_pm_ops, navpoint_suspend, navpoint_resume);
|
|||
|
||||
static struct platform_driver navpoint_driver = {
|
||||
.probe = navpoint_probe,
|
||||
.remove = __devexit_p(navpoint_remove),
|
||||
.remove = navpoint_remove,
|
||||
.driver = {
|
||||
.name = "navpoint",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -248,7 +248,7 @@ static struct platform_driver pxa930_trkball_driver = {
|
|||
.name = "pxa930-trkball",
|
||||
},
|
||||
.probe = pxa930_trkball_probe,
|
||||
.remove = __devexit_p(pxa930_trkball_remove),
|
||||
.remove = pxa930_trkball_remove,
|
||||
};
|
||||
module_platform_driver(pxa930_trkball_driver);
|
||||
|
||||
|
|
|
@ -662,7 +662,7 @@ static struct i2c_driver synaptics_i2c_driver = {
|
|||
},
|
||||
|
||||
.probe = synaptics_i2c_probe,
|
||||
.remove = __devexit_p(synaptics_i2c_remove),
|
||||
.remove = synaptics_i2c_remove,
|
||||
|
||||
.id_table = synaptics_i2c_id_table,
|
||||
};
|
||||
|
|
|
@ -187,7 +187,7 @@ MODULE_DEVICE_TABLE(of, altera_ps2_match);
|
|||
*/
|
||||
static struct platform_driver altera_ps2_driver = {
|
||||
.probe = altera_ps2_probe,
|
||||
.remove = __devexit_p(altera_ps2_remove),
|
||||
.remove = altera_ps2_remove,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
@ -204,7 +204,7 @@ static struct amba_driver ambakmi_driver = {
|
|||
},
|
||||
.id_table = amba_kmi_idtable,
|
||||
.probe = amba_kmi_probe,
|
||||
.remove = __devexit_p(amba_kmi_remove),
|
||||
.remove = amba_kmi_remove,
|
||||
.resume = amba_kmi_resume,
|
||||
};
|
||||
|
||||
|
|
|
@ -264,7 +264,7 @@ static struct platform_driver arc_ps2_driver = {
|
|||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = arc_ps2_probe,
|
||||
.remove = __devexit_p(arc_ps2_remove),
|
||||
.remove = arc_ps2_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(arc_ps2_driver);
|
||||
|
|
|
@ -212,7 +212,7 @@ static struct platform_driver ct82c710_driver = {
|
|||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ct82c710_probe,
|
||||
.remove = __devexit_p(ct82c710_remove),
|
||||
.remove = ct82c710_remove,
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -444,7 +444,7 @@ static struct parisc_driver parisc_ps2_driver = {
|
|||
.name = "gsc_ps2",
|
||||
.id_table = gscps2_device_tbl,
|
||||
.probe = gscps2_probe,
|
||||
.remove = __devexit_p(gscps2_remove),
|
||||
.remove = gscps2_remove,
|
||||
};
|
||||
|
||||
static int __init gscps2_init(void)
|
||||
|
|
|
@ -102,7 +102,7 @@ static struct platform_driver sparc_i8042_driver = {
|
|||
.of_match_table = sparc_i8042_match,
|
||||
},
|
||||
.probe = sparc_i8042_probe,
|
||||
.remove = __devexit_p(sparc_i8042_remove),
|
||||
.remove = sparc_i8042_remove,
|
||||
};
|
||||
|
||||
static int __init i8042_platform_init(void)
|
||||
|
|
|
@ -1455,7 +1455,7 @@ static struct platform_driver i8042_driver = {
|
|||
.pm = &i8042_pm_ops,
|
||||
#endif
|
||||
},
|
||||
.remove = __devexit_p(i8042_remove),
|
||||
.remove = i8042_remove,
|
||||
.shutdown = i8042_shutdown,
|
||||
};
|
||||
|
||||
|
|
|
@ -165,7 +165,7 @@ static struct platform_driver maceps2_driver = {
|
|||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = maceps2_probe,
|
||||
.remove = __devexit_p(maceps2_remove),
|
||||
.remove = maceps2_remove,
|
||||
};
|
||||
|
||||
static int __init maceps2_init(void)
|
||||
|
|
|
@ -212,7 +212,7 @@ static struct pci_driver pcips2_driver = {
|
|||
.name = "pcips2",
|
||||
.id_table = pcips2_ids,
|
||||
.probe = pcips2_probe,
|
||||
.remove = __devexit_p(pcips2_remove),
|
||||
.remove = pcips2_remove,
|
||||
};
|
||||
|
||||
module_pci_driver(pcips2_driver);
|
||||
|
|
|
@ -190,7 +190,7 @@ static struct platform_driver q40kbd_driver = {
|
|||
.name = "q40kbd",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.remove = __devexit_p(q40kbd_remove),
|
||||
.remove = q40kbd_remove,
|
||||
};
|
||||
|
||||
static int __init q40kbd_init(void)
|
||||
|
|
|
@ -166,7 +166,7 @@ static int __devexit rpckbd_remove(struct platform_device *dev)
|
|||
|
||||
static struct platform_driver rpckbd_driver = {
|
||||
.probe = rpckbd_probe,
|
||||
.remove = __devexit_p(rpckbd_remove),
|
||||
.remove = rpckbd_remove,
|
||||
.driver = {
|
||||
.name = "kart",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue