aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2020-01-12 01:55:03 +0000
committerLee Jones <lee.jones@linaro.org>2020-03-30 07:35:27 +0100
commit7a52cbccee8df0edfee30b81fdbb7d4f9d27ffd5 (patch)
tree2c3e2c763817d77b0900074ad479bc57c96ceae2 /include/linux/mfd
parentmfd: rk808: Stop using syscore ops (diff)
downloadlinux-dev-7a52cbccee8df0edfee30b81fdbb7d4f9d27ffd5.tar.xz
linux-dev-7a52cbccee8df0edfee30b81fdbb7d4f9d27ffd5.zip
mfd: rk808: Reduce shutdown duplication
Rather than having 3 almost-identical functions plus the machinery to keep track of them, it's far simpler to just dynamically select the appropriate register field per variant. 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/rk808.h
index a59bf323f713..b038653fa87e 100644
--- a/include/linux/mfd/rk808.h
+++ b/include/linux/mfd/rk808.h
@@ -620,7 +620,6 @@ struct rk808 {
long variant;
const struct regmap_config *regmap_cfg;
const struct regmap_irq_chip *regmap_irq_chip;
- void (*pm_pwroff_fn)(void);
void (*pm_pwroff_prep_fn)(void);
};
#endif /* __LINUX_REGULATOR_RK808_H */