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

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Mon Jan 13 03:04:35 PST 2025


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 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"

Indeed, copy paste.

Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list