PCI: layerscape: Use syscon_regmap_lookup_by_phandle_args
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 12 Jan 2025 13:39:03 +0000 (14:39 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 16 Jan 2025 20:38:36 +0000 (14:38 -0600)
commit149fc35734e50fc3200cf84c8efd711205961636
tree614eaa7af436d860834987fdb7b0361845459d95
parent40384c840ea1944d7c5a392e8975ed088ecf0b37
PCI: layerscape: Use syscon_regmap_lookup_by_phandle_args

Use syscon_regmap_lookup_by_phandle_args() which is a wrapper over
syscon_regmap_lookup_by_phandle() combined with getting the syscon
argument.  Except simpler code this annotates within one line that given
phandle has arguments, so grepping for code would be easier.

Link: https://lore.kernel.org/r/20250112-syscon-phandle-args-pci-v1-2-fcb6ebcc0afc@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Krzysztof WilczyƄski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Roy Zang <Roy.Zang@nxp.com>
drivers/pci/controller/dwc/pci-layerscape.c