Skip to content

Commit

Permalink
drivers/ide/pci/: use __devexit_p()
Browse files Browse the repository at this point in the history
This patch adds missing __devexit_p's.

Reported-by: Russell King <rmk+lkml@arm.linux.org.uk>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Adrian Bunk authored and Bartlomiej Zolnierkiewicz committed Aug 18, 2008
1 parent b09c3e3 commit a69999e
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion drivers/ide/pci/aec62xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ static struct pci_driver driver = {
.name = "AEC62xx_IDE",
.id_table = aec62xx_pci_tbl,
.probe = aec62xx_init_one,
.remove = aec62xx_remove,
.remove = __devexit_p(aec62xx_remove),
};

static int __init aec62xx_ide_init(void)
Expand Down
2 changes: 1 addition & 1 deletion drivers/ide/pci/cy82c693.c
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ static struct pci_driver driver = {
.name = "Cypress_IDE",
.id_table = cy82c693_pci_tbl,
.probe = cy82c693_init_one,
.remove = cy82c693_remove,
.remove = __devexit_p(cy82c693_remove),
};

static int __init cy82c693_ide_init(void)
Expand Down
2 changes: 1 addition & 1 deletion drivers/ide/pci/hpt366.c
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@ static struct pci_driver driver = {
.name = "HPT366_IDE",
.id_table = hpt366_pci_tbl,
.probe = hpt366_init_one,
.remove = hpt366_remove,
.remove = __devexit_p(hpt366_remove),
};

static int __init hpt366_ide_init(void)
Expand Down
2 changes: 1 addition & 1 deletion drivers/ide/pci/it821x.c
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ static struct pci_driver driver = {
.name = "ITE821x IDE",
.id_table = it821x_pci_tbl,
.probe = it821x_init_one,
.remove = it821x_remove,
.remove = __devexit_p(it821x_remove),
};

static int __init it821x_ide_init(void)
Expand Down
2 changes: 1 addition & 1 deletion drivers/ide/pci/pdc202xx_new.c
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ static struct pci_driver driver = {
.name = "Promise_IDE",
.id_table = pdc202new_pci_tbl,
.probe = pdc202new_init_one,
.remove = pdc202new_remove,
.remove = __devexit_p(pdc202new_remove),
};

static int __init pdc202new_ide_init(void)
Expand Down
2 changes: 1 addition & 1 deletion drivers/ide/pci/scc_pata.c
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ static struct pci_driver driver = {
.name = "SCC IDE",
.id_table = scc_pci_tbl,
.probe = scc_init_one,
.remove = scc_remove,
.remove = __devexit_p(scc_remove),
};

static int scc_ide_init(void)
Expand Down
2 changes: 1 addition & 1 deletion drivers/ide/pci/siimage.c
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ static struct pci_driver driver = {
.name = "SiI_IDE",
.id_table = siimage_pci_tbl,
.probe = siimage_init_one,
.remove = siimage_remove,
.remove = __devexit_p(siimage_remove),
};

static int __init siimage_ide_init(void)
Expand Down
2 changes: 1 addition & 1 deletion drivers/ide/pci/sis5513.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ static struct pci_driver driver = {
.name = "SIS_IDE",
.id_table = sis5513_pci_tbl,
.probe = sis5513_init_one,
.remove = sis5513_remove,
.remove = __devexit_p(sis5513_remove),
};

static int __init sis5513_ide_init(void)
Expand Down
2 changes: 1 addition & 1 deletion drivers/ide/pci/tc86c001.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ static struct pci_driver driver = {
.name = "TC86C001",
.id_table = tc86c001_pci_tbl,
.probe = tc86c001_init_one,
.remove = tc86c001_remove,
.remove = __devexit_p(tc86c001_remove),
};

static int __init tc86c001_ide_init(void)
Expand Down
2 changes: 1 addition & 1 deletion drivers/ide/pci/via82cxxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ static struct pci_driver driver = {
.name = "VIA_IDE",
.id_table = via_pci_tbl,
.probe = via_init_one,
.remove = via_remove,
.remove = __devexit_p(via_remove),
};

static int __init via_ide_init(void)
Expand Down

0 comments on commit a69999e

Please sign in to comment.