diff options
author | Robin Murphy <robin.murphy@arm.com> | 2020-01-12 01:55:04 +0000 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-03-30 07:35:28 +0100 |
commit | 42679765faf286259b16acf284eb52d68877ff32 (patch) | |
tree | 46e7188a0bdce57c80e09c6db330efbe27863a31 /include/linux/mfd | |
parent | 7a52cbccee8df0edfee30b81fdbb7d4f9d27ffd5 (diff) | |
download | linux-stable-42679765faf286259b16acf284eb52d68877ff32.tar.gz linux-stable-42679765faf286259b16acf284eb52d68877ff32.tar.bz2 linux-stable-42679765faf286259b16acf284eb52d68877ff32.zip |
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>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/rk808.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/rk808.h index b038653fa87e..e07f6e61cd38 100644 --- a/include/linux/mfd/rk808.h +++ b/include/linux/mfd/rk808.h @@ -620,6 +620,5 @@ struct rk808 { long variant; const struct regmap_config *regmap_cfg; const struct regmap_irq_chip *regmap_irq_chip; - void (*pm_pwroff_prep_fn)(void); }; #endif /* __LINUX_REGULATOR_RK808_H */ |