[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173947062030.294083.9746743441329264653.b4-ty@kernel.org>
Date: Thu, 13 Feb 2025 23:47:00 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Patrice Chotard <patrice.chotard@...s.st.com>,
Kishon Vijay Abraham I <kishon@...nel.org>,
linux-arm-kernel@...ts.infradead.org, linux-phy@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: Re: [PATCH] phy: stih407-usb: Use
syscon_regmap_lookup_by_phandle_args
On Sat, 11 Jan 2025 19:54:07 +0100, 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.
>
> There is also no real benefit in printing errors on missing syscon
> argument, because this is done just too late: runtime check on
> static/build-time data. Dtschema and Devicetree bindings offer the
> static/build-time check for this already.
>
> [...]
Applied, thanks!
[1/1] phy: stih407-usb: Use syscon_regmap_lookup_by_phandle_args
commit: 13c1eb1b4bd169f820188c62acaa1f96677284b1
Best regards,
--
~Vinod
Powered by blists - more mailing lists