diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2022-10-20 23:42:41 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-12-11 22:56:33 +0300 |
commit | 2e830ccc21eb67a4c2490279d907e5e9199e5156 (patch) | |
tree | 39dd5e5f93c76b902c75bb9c53611f4e94107dff /drivers/rtc/rtc-rv3028.c | |
parent | 21b8a1dd56a163825e5749b303858fb902ebf198 (diff) | |
download | linux-2e830ccc21eb67a4c2490279d907e5e9199e5156.tar.xz |
rtc: rk808: reduce 'struct rk808' usage
Reduce usage of 'struct rk808' (driver data of the parent MFD), so
that only the chip variant field is still being accessed directly.
This allows restructuring the MFD driver to support SPI based
PMICs.
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20221020204251.108565-4-sebastian.reichel@collabora.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-rv3028.c')
0 files changed, 0 insertions, 0 deletions