public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ipr: ipr_remove() marked __devexit
@ 2009-03-23 20:12 Kleber Sacilotto de Souza
  2009-04-17 19:08 ` Kleber S. Souza
  0 siblings, 1 reply; 8+ messages in thread
From: Kleber Sacilotto de Souza @ 2009-03-23 20:12 UTC (permalink / raw)
  To: linux-scsi@vger.kernel.org

Marking the ipr clean up function ipr_remove() as __devexit and using
__devexit_p() macro in its address reference.


Signed-off-by: Kleber Sacilotto de Souza <kleber@linux.vnet.ibm.com>
Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
---
 drivers/scsi/ipr.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index 0782900..bc39ac6 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -7674,7 +7674,7 @@ static void __ipr_remove(struct pci_dev *pdev)
  * Return value:
  *     none
  **/
-static void ipr_remove(struct pci_dev *pdev)
+static void __devexit ipr_remove(struct pci_dev *pdev)
 {
        struct ipr_ioa_cfg *ioa_cfg = pci_get_drvdata(pdev);

@@ -7850,7 +7850,7 @@ static struct pci_driver ipr_driver = {
        .name = IPR_NAME,
        .id_table = ipr_pci_table,
        .probe = ipr_probe,
-       .remove = ipr_remove,
+       .remove = __devexit_p(ipr_remove),
        .shutdown = ipr_shutdown,
        .err_handler = &ipr_err_handler,
 };
--

-- 
Kleber Sacilotto de Souza
Software Engineer
IBM Linux Technology Center


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-05-20 19:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-23 20:12 [PATCH] ipr: ipr_remove() marked __devexit Kleber Sacilotto de Souza
2009-04-17 19:08 ` Kleber S. Souza
2009-04-18  2:05   ` James Bottomley
2009-04-20 13:56     ` Kleber S. Souza
2009-04-20 14:16       ` James Bottomley
2009-04-20 14:23         ` Brian King
2009-04-22 13:50         ` Kleber S. Souza
2009-05-20 19:58           ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox