Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=77f1fd6ecd04556cbac1ca72e7a284ae313ea538
Commit:     77f1fd6ecd04556cbac1ca72e7a284ae313ea538
Parent:     019a5f56ec195aceadada18aaaad0f67294bdaef
Author:     Pierre Ossman <[EMAIL PROTECTED]>
AuthorDate: Fri Oct 12 22:48:46 2007 +0200
Committer:  Pierre Ossman <[EMAIL PROTECTED]>
CommitDate: Fri Oct 12 22:48:46 2007 +0200

    mmc: use correct unregister function for led trigger
    
    We register a simple trigger so make sure we use the corresponding
    unregister function.
    
    (Also means we get a dummy function when triggers aren't compiled in)
    
    Signed-off-by: Pierre Ossman <[EMAIL PROTECTED]>
---
 drivers/mmc/core/host.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c
index 64fbc97..c65d203 100644
--- a/drivers/mmc/core/host.c
+++ b/drivers/mmc/core/host.c
@@ -143,7 +143,7 @@ void mmc_remove_host(struct mmc_host *host)
 
        device_del(&host->class_dev);
 
-       led_trigger_unregister(host->led);
+       led_trigger_unregister_simple(host->led);
 
        spin_lock(&mmc_host_lock);
        idr_remove(&mmc_host_idr, host->index);
-
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