[PATCH net-next 2/5] net: ti: icssg-prueth: Use syscon_regmap_lookup_by_phandle_args

MD Danish Anwar danishanwar at ti.com
Mon Jan 13 00:07:26 PST 2025



On 12/01/25 7:02 pm, Krzysztof Kozlowski wrote:
> 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 at linaro.org>
> ---
>  drivers/net/ethernet/ti/am65-cpsw-nuss.c | 9 ++-------
>  1 file changed, 2 insertions(+), 7 deletions(-)
> 

The patch only touches `drivers/net/ethernet/ti/am65-cpsw-nuss.c`
however the subject suggests the patch is related to "icssg-prueth".

I suppose the subject should be changed to "am65-cpsw-nuss" instead of
"icssg-prueth"

-- 
Thanks and Regards,
Danish



More information about the linux-arm-kernel mailing list