mfd: rn5t618: Unregister restart handler on remove
authorStefan Agner <stefan@agner.ch>
Tue, 16 May 2017 06:24:11 +0000 (23:24 -0700)
committerLee Jones <lee.jones@linaro.org>
Thu, 6 Jul 2017 07:29:11 +0000 (08:29 +0100)
commitecca790a1aabd4a0e6fcdf7c3a0c81f3a4f38b6a
treefc7e8f6e1ad02f97453d7636124837a4c97bd4dd
parentdcb0574b4b15e197e4ab2b503efcfa5eb172083d
mfd: rn5t618: Unregister restart handler on remove

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