RE: [PATCH 2/2] PCI: dwc: layerscape: Use syscon_regmap_lookup_by_phandle_args
From: Roy Zang
Date: Tue Jan 14 2025 - 20:15:49 EST
> From: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> 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.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> ---
> drivers/pci/controller/dwc/pci-layerscape.c | 10 ++++------
> 1 file changed, 4 insertions(+), 6 deletions(-)
Acked-by: Roy Zang <Roy.Zang@xxxxxxx>
Roy
Attachment:
smime.p7s
Description: S/MIME cryptographic signature