diff options
author | Michael Tretter <m.tretter@pengutronix.de> | 2021-08-25 18:03:13 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2021-12-08 14:53:36 +0300 |
commit | 628e8ba1d331397d580e65a61c0fb4b5ae8e5ccb (patch) | |
tree | 2a11d7c8b4526befc22f6bc0654107dcfe1d744c /drivers/mfd/lp873x.c | |
parent | e7a9106c32c0527735a01ae00d5d9edbdb573b40 (diff) | |
download | linux-628e8ba1d331397d580e65a61c0fb4b5ae8e5ccb.tar.xz |
soc: xilinx: add a to_zynqmp_pm_domain macro
Replace container_of for converting a generic_pm_domain to a
zynqmp_pm_domain with a macro definition to simplify the code.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Rajan Vaja <rajan.vaja@xilinx.com>
Link: https://lore.kernel.org/r/20210825150313.4033156-5-m.tretter@pengutronix.de
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/mfd/lp873x.c')
0 files changed, 0 insertions, 0 deletions