Commit 01f6f49b authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

staging: lirc: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.
Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 79fc8d89
...@@ -606,7 +606,7 @@ static int lirc_parallel_resume(struct platform_device *dev) ...@@ -606,7 +606,7 @@ static int lirc_parallel_resume(struct platform_device *dev)
static struct platform_driver lirc_parallel_driver = { static struct platform_driver lirc_parallel_driver = {
.probe = lirc_parallel_probe, .probe = lirc_parallel_probe,
.remove = __devexit_p(lirc_parallel_remove), .remove = lirc_parallel_remove,
.suspend = lirc_parallel_suspend, .suspend = lirc_parallel_suspend,
.resume = lirc_parallel_resume, .resume = lirc_parallel_resume,
.driver = { .driver = {
......
...@@ -1148,7 +1148,7 @@ static int lirc_serial_resume(struct platform_device *dev) ...@@ -1148,7 +1148,7 @@ static int lirc_serial_resume(struct platform_device *dev)
static struct platform_driver lirc_serial_driver = { static struct platform_driver lirc_serial_driver = {
.probe = lirc_serial_probe, .probe = lirc_serial_probe,
.remove = __devexit_p(lirc_serial_remove), .remove = lirc_serial_remove,
.suspend = lirc_serial_suspend, .suspend = lirc_serial_suspend,
.resume = lirc_serial_resume, .resume = lirc_serial_resume,
.driver = { .driver = {
......
...@@ -1230,7 +1230,7 @@ static int __devexit lirc_sir_remove(struct platform_device *dev) ...@@ -1230,7 +1230,7 @@ static int __devexit lirc_sir_remove(struct platform_device *dev)
static struct platform_driver lirc_sir_driver = { static struct platform_driver lirc_sir_driver = {
.probe = lirc_sir_probe, .probe = lirc_sir_probe,
.remove = __devexit_p(lirc_sir_remove), .remove = lirc_sir_remove,
.driver = { .driver = {
.name = "lirc_sir", .name = "lirc_sir",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment