projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
019a5f5
)
mmc: use correct unregister function for led trigger
author
Pierre Ossman
<drzeus@drzeus.cx>
Fri, 12 Oct 2007 20:48:46 +0000
(22:48 +0200)
committer
Pierre Ossman
<drzeus@drzeus.cx>
Fri, 12 Oct 2007 20:48:46 +0000
(22:48 +0200)
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 <drzeus@drzeus.cx>
drivers/mmc/core/host.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/core/host.c
b/drivers/mmc/core/host.c
index 64fbc9759a30757426de0270b0afa25d5c31ea94..c65d203a846d6e91dc5689e0bee82311474468a2 100644
(file)
--- 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);