mfd: rk808: Convert RK805 to shutdown/suspend hooks
authorRobin Murphy <robin.murphy@arm.com>
Sun, 12 Jan 2020 01:55:04 +0000 (01:55 +0000)
committerLee Jones <lee.jones@linaro.org>
Mon, 30 Mar 2020 06:35:28 +0000 (07:35 +0100)
commit42679765faf286259b16acf284eb52d68877ff32
tree46e7188a0bdce57c80e09c6db330efbe27863a31
parent7a52cbccee8df0edfee30b81fdbb7d4f9d27ffd5
mfd: rk808: Convert RK805 to shutdown/suspend hooks

RK805 has the same kind of dual-role sleep/shutdown pin as RK809/RK817,
so it makes little sense for the driver to have to have two completely
different mechanisms to handle essentially the same thing. Move RK805
over to the shutdown/suspend flow to clean things up.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/rk808.c
include/linux/mfd/rk808.h