Skip to content

Commit 4dde2d2

Browse files
wfp5pgregkh
authored andcommitted
char: 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: Mattia Dongili <malattia@linux.it> Cc: platform-driver-x86@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 486a5c2 commit 4dde2d2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/char/sonypi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1491,7 +1491,7 @@ static struct platform_driver sonypi_driver = {
14911491
.pm = SONYPI_PM,
14921492
},
14931493
.probe = sonypi_probe,
1494-
.remove = __devexit_p(sonypi_remove),
1494+
.remove = sonypi_remove,
14951495
.shutdown = sonypi_shutdown,
14961496
};
14971497

‎drivers/char/tb0219.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ static struct platform_device *tb0219_platform_device;
334334

335335
static struct platform_driver tb0219_device_driver = {
336336
.probe = tb0219_probe,
337-
.remove = __devexit_p(tb0219_remove),
337+
.remove = tb0219_remove,
338338
.driver = {
339339
.name = "TB0219",
340340
.owner = THIS_MODULE,

0 commit comments

Comments
 (0)