mfd: da9062: Use MFD_CELL_OF macro
authorChristoph Niedermaier <cniedermaier@dh-electronics.com>
Thu, 9 Mar 2023 09:22:52 +0000 (10:22 +0100)
committerLee Jones <lee@kernel.org>
Wed, 26 Apr 2023 10:40:30 +0000 (11:40 +0100)
commit7d61f6313e90cdbe592eba5e0ae6d1c367b03548
treed51930d8dc4253c29a9944cfc55beecee5999d2f
parent6e264e72299c1aff75b9cf45c4cbebaea2cb5fd6
mfd: da9062: Use MFD_CELL_OF macro

Use MFD_CELL_OF macro helper instead of plain struct properties, which makes
the code a bit shorter and to have commonly defined MFD cell attributes.

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Acked-by: Adam Ward <DLG-Adam.Ward.opensource@dm.renesas.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230309092254.56279-1-cniedermaier@dh-electronics.com
drivers/mfd/da9062-core.c