提交 44b90a3f 编写于 作者: B Bill Pemberton 提交者: Greg Kroah-Hartman

staging: nvec: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.
Signed-off-by: NBill Pemberton <wfp5p@virginia.edu>
Cc: Julian Andres Klode <jak@jak-linux.org>
Acked-by: NMarc Dietrich <marvin24@gmx.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 477953e1
...@@ -909,7 +909,7 @@ MODULE_DEVICE_TABLE(of, nvidia_nvec_of_match); ...@@ -909,7 +909,7 @@ MODULE_DEVICE_TABLE(of, nvidia_nvec_of_match);
static struct platform_driver nvec_device_driver = { static struct platform_driver nvec_device_driver = {
.probe = tegra_nvec_probe, .probe = tegra_nvec_probe,
.remove = __devexit_p(tegra_nvec_remove), .remove = tegra_nvec_remove,
.driver = { .driver = {
.name = "nvec", .name = "nvec",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -169,7 +169,7 @@ static int __devexit nvec_kbd_remove(struct platform_device *pdev) ...@@ -169,7 +169,7 @@ static int __devexit nvec_kbd_remove(struct platform_device *pdev)
static struct platform_driver nvec_kbd_driver = { static struct platform_driver nvec_kbd_driver = {
.probe = nvec_kbd_probe, .probe = nvec_kbd_probe,
.remove = __devexit_p(nvec_kbd_remove), .remove = nvec_kbd_remove,
.driver = { .driver = {
.name = "nvec-kbd", .name = "nvec-kbd",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -83,7 +83,7 @@ static int __devexit nvec_paz00_remove(struct platform_device *pdev) ...@@ -83,7 +83,7 @@ static int __devexit nvec_paz00_remove(struct platform_device *pdev)
static struct platform_driver nvec_paz00_driver = { static struct platform_driver nvec_paz00_driver = {
.probe = nvec_paz00_probe, .probe = nvec_paz00_probe,
.remove = __devexit_p(nvec_paz00_remove), .remove = nvec_paz00_remove,
.driver = { .driver = {
.name = "nvec-paz00", .name = "nvec-paz00",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -425,7 +425,7 @@ static int __devexit nvec_power_remove(struct platform_device *pdev) ...@@ -425,7 +425,7 @@ static int __devexit nvec_power_remove(struct platform_device *pdev)
static struct platform_driver nvec_power_driver = { static struct platform_driver nvec_power_driver = {
.probe = nvec_power_probe, .probe = nvec_power_probe,
.remove = __devexit_p(nvec_power_remove), .remove = nvec_power_remove,
.driver = { .driver = {
.name = "nvec-power", .name = "nvec-power",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -164,7 +164,7 @@ static const SIMPLE_DEV_PM_OPS(nvec_mouse_pm_ops, nvec_mouse_suspend, ...@@ -164,7 +164,7 @@ static const SIMPLE_DEV_PM_OPS(nvec_mouse_pm_ops, nvec_mouse_suspend,
static struct platform_driver nvec_mouse_driver = { static struct platform_driver nvec_mouse_driver = {
.probe = nvec_mouse_probe, .probe = nvec_mouse_probe,
.remove = __devexit_p(nvec_mouse_remove), .remove = nvec_mouse_remove,
.driver = { .driver = {
.name = "nvec-mouse", .name = "nvec-mouse",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册