mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 14:24:11 +08:00
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>
This commit is contained in:
parent
486a5c28c2
commit
4dde2d2f3a
@ -1491,7 +1491,7 @@ static struct platform_driver sonypi_driver = {
|
||||
.pm = SONYPI_PM,
|
||||
},
|
||||
.probe = sonypi_probe,
|
||||
.remove = __devexit_p(sonypi_remove),
|
||||
.remove = sonypi_remove,
|
||||
.shutdown = sonypi_shutdown,
|
||||
};
|
||||
|
||||
|
@ -334,7 +334,7 @@ static struct platform_device *tb0219_platform_device;
|
||||
|
||||
static struct platform_driver tb0219_device_driver = {
|
||||
.probe = tb0219_probe,
|
||||
.remove = __devexit_p(tb0219_remove),
|
||||
.remove = tb0219_remove,
|
||||
.driver = {
|
||||
.name = "TB0219",
|
||||
.owner = THIS_MODULE,
|
||||
|
Loading…
Reference in New Issue
Block a user