Skip to content

Commit

Permalink
char: remove use of __devexit_p
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
wfp5p authored and gregkh committed Nov 21, 2012
1 parent 486a5c2 commit 4dde2d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/char/sonypi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/char/tb0219.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4dde2d2

Please sign in to comment.