mirror of
https://github.com/Dasharo/linux.git
synced 2026-03-06 15:25:10 -08:00
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
@@ -107,7 +107,7 @@ static int emu_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
return error;
|
||||
}
|
||||
|
||||
static void __devexit emu_remove(struct pci_dev *pdev)
|
||||
static void emu_remove(struct pci_dev *pdev)
|
||||
{
|
||||
struct emu *emu = pci_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@ static int fm801_gp_probe(struct pci_dev *pci, const struct pci_device_id *id)
|
||||
return error;
|
||||
}
|
||||
|
||||
static void __devexit fm801_gp_remove(struct pci_dev *pci)
|
||||
static void fm801_gp_remove(struct pci_dev *pci)
|
||||
{
|
||||
struct fm801_gp *gp = pci_get_drvdata(pci);
|
||||
|
||||
|
||||
@@ -341,7 +341,7 @@ err_free_mem:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit as5011_remove(struct i2c_client *client)
|
||||
static int as5011_remove(struct i2c_client *client)
|
||||
{
|
||||
struct as5011_device *as5011 = i2c_get_clientdata(client);
|
||||
|
||||
|
||||
@@ -157,7 +157,7 @@ fail:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit remove_maple_controller(struct device *dev)
|
||||
static int remove_maple_controller(struct device *dev)
|
||||
{
|
||||
struct maple_device *mdev = to_maple_dev(dev);
|
||||
struct dc_pad *pad = maple_get_drvdata(mdev);
|
||||
|
||||
@@ -182,7 +182,7 @@ err:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit adp5520_keys_remove(struct platform_device *pdev)
|
||||
static int adp5520_keys_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct adp5520_keys *dev = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -224,7 +224,7 @@ static int adp5588_gpio_add(struct adp5588_kpad *kpad)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void __devexit adp5588_gpio_remove(struct adp5588_kpad *kpad)
|
||||
static void adp5588_gpio_remove(struct adp5588_kpad *kpad)
|
||||
{
|
||||
struct device *dev = &kpad->client->dev;
|
||||
const struct adp5588_kpad_platform_data *pdata = dev->platform_data;
|
||||
@@ -587,7 +587,7 @@ static int adp5588_probe(struct i2c_client *client,
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit adp5588_remove(struct i2c_client *client)
|
||||
static int adp5588_remove(struct i2c_client *client)
|
||||
{
|
||||
struct adp5588_kpad *kpad = i2c_get_clientdata(client);
|
||||
|
||||
|
||||
@@ -550,7 +550,7 @@ static int adp5589_gpio_add(struct adp5589_kpad *kpad)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void __devexit adp5589_gpio_remove(struct adp5589_kpad *kpad)
|
||||
static void adp5589_gpio_remove(struct adp5589_kpad *kpad)
|
||||
{
|
||||
struct device *dev = &kpad->client->dev;
|
||||
const struct adp5589_kpad_platform_data *pdata = dev->platform_data;
|
||||
@@ -1044,7 +1044,7 @@ err_free_mem:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit adp5589_remove(struct i2c_client *client)
|
||||
static int adp5589_remove(struct i2c_client *client)
|
||||
{
|
||||
struct adp5589_kpad *kpad = i2c_get_clientdata(client);
|
||||
|
||||
|
||||
@@ -331,7 +331,7 @@ out:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit bfin_kpad_remove(struct platform_device *pdev)
|
||||
static int bfin_kpad_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct bfin_kpad_platform_data *pdata = pdev->dev.platform_data;
|
||||
struct bf54x_kpad *bf54x_kpad = platform_get_drvdata(pdev);
|
||||
|
||||
@@ -303,7 +303,7 @@ fail1:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit davinci_ks_remove(struct platform_device *pdev)
|
||||
static int davinci_ks_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct davinci_ks *davinci_ks = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -346,7 +346,7 @@ failed_free:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit ep93xx_keypad_remove(struct platform_device *pdev)
|
||||
static int ep93xx_keypad_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct ep93xx_keypad *keypad = platform_get_drvdata(pdev);
|
||||
struct resource *res;
|
||||
|
||||
@@ -760,7 +760,7 @@ static int gpio_keys_probe(struct platform_device *pdev)
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit gpio_keys_remove(struct platform_device *pdev)
|
||||
static int gpio_keys_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct gpio_keys_drvdata *ddata = platform_get_drvdata(pdev);
|
||||
struct input_dev *input = ddata->input;
|
||||
|
||||
@@ -328,7 +328,7 @@ err_free_pdata:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit gpio_keys_polled_remove(struct platform_device *pdev)
|
||||
static int gpio_keys_polled_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct gpio_keys_polled_dev *bdev = platform_get_drvdata(pdev);
|
||||
const struct gpio_keys_platform_data *pdata = bdev->pdata;
|
||||
|
||||
@@ -286,7 +286,7 @@ err1:
|
||||
return err;
|
||||
}
|
||||
|
||||
static void __devexit hil_keyb_exit(void)
|
||||
static void hil_keyb_exit(void)
|
||||
{
|
||||
if (HIL_IRQ)
|
||||
free_irq(HIL_IRQ, hil_dev.dev_id);
|
||||
@@ -320,7 +320,7 @@ static int hil_probe_chip(struct parisc_device *dev)
|
||||
return hil_keyb_init();
|
||||
}
|
||||
|
||||
static int __devexit hil_remove_chip(struct parisc_device *dev)
|
||||
static int hil_remove_chip(struct parisc_device *dev)
|
||||
{
|
||||
hil_keyb_exit();
|
||||
|
||||
|
||||
@@ -554,7 +554,7 @@ failed_rel_mem:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit imx_keypad_remove(struct platform_device *pdev)
|
||||
static int imx_keypad_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct imx_keypad *keypad = platform_get_drvdata(pdev);
|
||||
struct resource *res;
|
||||
|
||||
@@ -240,7 +240,7 @@ static int jornada680kbd_probe(struct platform_device *pdev)
|
||||
|
||||
}
|
||||
|
||||
static int __devexit jornada680kbd_remove(struct platform_device *pdev)
|
||||
static int jornada680kbd_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct jornadakbd *jornadakbd = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -152,7 +152,7 @@ static int jornada720_kbd_probe(struct platform_device *pdev)
|
||||
return err;
|
||||
};
|
||||
|
||||
static int __devexit jornada720_kbd_remove(struct platform_device *pdev)
|
||||
static int jornada720_kbd_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct jornadakbd *jornadakbd = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -764,7 +764,7 @@ fail1:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit lm8323_remove(struct i2c_client *client)
|
||||
static int lm8323_remove(struct i2c_client *client)
|
||||
{
|
||||
struct lm8323_chip *lm = i2c_get_clientdata(client);
|
||||
int i;
|
||||
|
||||
@@ -202,7 +202,7 @@ static int lm8333_probe(struct i2c_client *client,
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit lm8333_remove(struct i2c_client *client)
|
||||
static int lm8333_remove(struct i2c_client *client)
|
||||
{
|
||||
struct lm8333 *lm8333 = i2c_get_clientdata(client);
|
||||
|
||||
|
||||
@@ -321,7 +321,7 @@ static int locomokbd_probe(struct locomo_dev *dev)
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit locomokbd_remove(struct locomo_dev *dev)
|
||||
static int locomokbd_remove(struct locomo_dev *dev)
|
||||
{
|
||||
struct locomokbd *locomokbd = locomo_get_drvdata(dev);
|
||||
|
||||
|
||||
@@ -310,7 +310,7 @@ err_free_mem:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit lpc32xx_kscan_remove(struct platform_device *pdev)
|
||||
static int lpc32xx_kscan_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct lpc32xx_kscan_drv *kscandat = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user