Re: [PATCH v5 07/10] phy: rockchip: samsung-hdptx: Consolidate consumer_put on error path

Manivannan Sadhasivam <[email protected]>
Newsgroups org.infradead.lists.linux-phy,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-rockchip,org.kernel.vger.linux-kernel
Message-ID <7pshndmrl3yy6oulomog26vjfppcuh6bxbn5fy7rys3w34pizo@psbah2rng6tz>
On Thu, Jul 23, 2026 at 10:41:50PM +0300, Cristian Ciocaltea wrote:
> rk_hdptx_phy_consumer_put() is invoked in both branches of the mode
> check conditional in rk_hdptx_phy_power_on() on the error path.
> 
> Simplify the code by moving the single call to the end of the
> function.
> 
> No functional change intended.
> 
> Signed-off-by: Cristian Ciocaltea <[email protected]>

Reviewed-by: Manivannan Sadhasivam <[email protected]>

- Mani

-- 
மணிவண்ணன் சதாசிவம்

-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.