mirror of https://gitee.com/openkylin/linux.git
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: Bill Pemberton <wfp5p@virginia.edu> Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
79fc8d891b
commit
01f6f49b0a
|
@ -606,7 +606,7 @@ static int lirc_parallel_resume(struct platform_device *dev)
|
|||
|
||||
static struct platform_driver lirc_parallel_driver = {
|
||||
.probe = lirc_parallel_probe,
|
||||
.remove = __devexit_p(lirc_parallel_remove),
|
||||
.remove = lirc_parallel_remove,
|
||||
.suspend = lirc_parallel_suspend,
|
||||
.resume = lirc_parallel_resume,
|
||||
.driver = {
|
||||
|
|
|
@ -1148,7 +1148,7 @@ static int lirc_serial_resume(struct platform_device *dev)
|
|||
|
||||
static struct platform_driver lirc_serial_driver = {
|
||||
.probe = lirc_serial_probe,
|
||||
.remove = __devexit_p(lirc_serial_remove),
|
||||
.remove = lirc_serial_remove,
|
||||
.suspend = lirc_serial_suspend,
|
||||
.resume = lirc_serial_resume,
|
||||
.driver = {
|
||||
|
|
|
@ -1230,7 +1230,7 @@ static int __devexit lirc_sir_remove(struct platform_device *dev)
|
|||
|
||||
static struct platform_driver lirc_sir_driver = {
|
||||
.probe = lirc_sir_probe,
|
||||
.remove = __devexit_p(lirc_sir_remove),
|
||||
.remove = lirc_sir_remove,
|
||||
.driver = {
|
||||
.name = "lirc_sir",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
Loading…
Reference in New Issue