Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2ab302b3579b76b8c575f0858a8e4b82f6dfca52
Commit:     2ab302b3579b76b8c575f0858a8e4b82f6dfca52
Parent:     cc261267dfbced100eb10832aaabb03bf993745d
Author:     Tejun Heo <[EMAIL PROTECTED]>
AuthorDate: Sun Mar 18 04:55:23 2007 +0900
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Mon Mar 19 11:56:59 2007 -0400

    pata_ixp4xx_cf: fix oops on detach
    
    pata_ixp4xx_cf dodged dont-clear-drvdata-in-LLD bombing run as it used
    platform_set_drvdata() instead of dev_set_drvdata().  This causes OOPS
    on devres host release.  Kill it.
    
    Signed-off-by: Tejun Heo <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/ata/pata_ixp4xx_cf.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/ata/pata_ixp4xx_cf.c b/drivers/ata/pata_ixp4xx_cf.c
index 9a0523b..bbcc9e7 100644
--- a/drivers/ata/pata_ixp4xx_cf.c
+++ b/drivers/ata/pata_ixp4xx_cf.c
@@ -232,7 +232,6 @@ static __devexit int ixp4xx_pata_remove(struct 
platform_device *dev)
        struct ata_host *host = platform_get_drvdata(dev);
 
        ata_host_detach(host);
-       platform_set_drvdata(dev, NULL);
 
        return 0;
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to