Skip to content

Commit

Permalink
w1: 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: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Nov 21, 2012
1 parent 128485d commit f91a66c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/w1/masters/matrox_w1.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static struct pci_driver matrox_w1_pci_driver = {
.name = "matrox_w1",
.id_table = matrox_w1_tbl,
.probe = matrox_w1_probe,
.remove = __devexit_p(matrox_w1_remove),
.remove = matrox_w1_remove,
};

/*
Expand Down
2 changes: 1 addition & 1 deletion drivers/w1/masters/omap_hdq.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ static int __devexit omap_hdq_remove(struct platform_device *pdev);

static struct platform_driver omap_hdq_driver = {
.probe = omap_hdq_probe,
.remove = __devexit_p(omap_hdq_remove),
.remove = omap_hdq_remove,
.driver = {
.name = "omap_hdq",
},
Expand Down

0 comments on commit f91a66c

Please sign in to comment.