mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
staging: nvec: 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> Cc: Julian Andres Klode <jak@jak-linux.org> Acked-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
063f9f6a87
commit
1a6a8a8414
@ -853,7 +853,7 @@ static int tegra_nvec_probe(struct platform_device *pdev)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __devexit tegra_nvec_remove(struct platform_device *pdev)
|
static int tegra_nvec_remove(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct nvec_chip *nvec = platform_get_drvdata(pdev);
|
struct nvec_chip *nvec = platform_get_drvdata(pdev);
|
||||||
|
|
||||||
|
@ -159,7 +159,7 @@ fail:
|
|||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __devexit nvec_kbd_remove(struct platform_device *pdev)
|
static int nvec_kbd_remove(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
input_unregister_device(keys_dev.input);
|
input_unregister_device(keys_dev.input);
|
||||||
input_free_device(keys_dev.input);
|
input_free_device(keys_dev.input);
|
||||||
|
@ -72,7 +72,7 @@ static int nvec_paz00_probe(struct platform_device *pdev)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __devexit nvec_paz00_remove(struct platform_device *pdev)
|
static int nvec_paz00_remove(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct nvec_led *led = platform_get_drvdata(pdev);
|
struct nvec_led *led = platform_get_drvdata(pdev);
|
||||||
|
|
||||||
|
@ -407,7 +407,7 @@ static int nvec_power_probe(struct platform_device *pdev)
|
|||||||
return power_supply_register(&pdev->dev, psy);
|
return power_supply_register(&pdev->dev, psy);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __devexit nvec_power_remove(struct platform_device *pdev)
|
static int nvec_power_remove(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct nvec_power *power = platform_get_drvdata(pdev);
|
struct nvec_power *power = platform_get_drvdata(pdev);
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ static int nvec_mouse_probe(struct platform_device *pdev)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __devexit nvec_mouse_remove(struct platform_device *pdev)
|
static int nvec_mouse_remove(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
serio_unregister_port(ps2_dev.ser_dev);
|
serio_unregister_port(ps2_dev.ser_dev);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user