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.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -620,6 +620,5 @@ struct rk808 { · 619 unmodified lines | ||
| 620 | 620 | long variant; |
| 621 | 621 | const struct regmap_config *regmap_cfg; |
| 622 | 622 | const struct regmap_irq_chip *regmap_irq_chip; |
| 623 | − void (*pm_pwroff_prep_fn)(void); | |
| 624 | 623 | }; |
| 625 | 624 | #endif /* __LINUX_REGULATOR_RK808_H */ |