projects
/
GitHub
/
moto-9609
/
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:
dcb0574
)
mfd: rn5t618: Unregister restart handler on remove
author
Stefan Agner
<stefan@agner.ch>
Tue, 16 May 2017 06:24:11 +0000
(23:24 -0700)
committer
Lee Jones
<lee.jones@linaro.org>
Thu, 6 Jul 2017 07:29:11 +0000
(08:29 +0100)
Remove the restart handler registered in probe on device remove.
Fixes:
a370f60a58ec
("mfd: rn5t618: Register restart handler")
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/rn5t618.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/rn5t618.c
b/drivers/mfd/rn5t618.c
index 8131d1975745ec51a6219979f517827508c65497..f4037d42a60fa7bcc63f034e01779d0557597110 100644
(file)
--- a/
drivers/mfd/rn5t618.c
+++ b/
drivers/mfd/rn5t618.c
@@
-155,6
+155,8
@@
static int rn5t618_i2c_remove(struct i2c_client *i2c)
pm_power_off = NULL;
}
+ unregister_restart_handler(&rn5t618_restart_handler);
+
return 0;
}