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

From: Krzysztof Kozlowski
Date: Mon Jan 13 2025 - 06:04:46 EST


On 13/01/2025 09:07, MD Danish Anwar wrote:
>
>
> 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@xxxxxxxxxx>
>> ---
>> 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"

Indeed, copy paste.

Best regards,
Krzysztof