Thread (8 messages) flat view 8 messages, 2 authors, 2021-08-12

Re: [PATCH v2 1/3] net: mdio: Add the reset function for IPQ MDIO driver

From: Jie Luo <hidden>
Date: 2021-08-12 02:40:08
Also in: linux-arm-msm, lkml, netdev

On 8/11/2021 10:57 PM, Andrew Lunn wrote:
quoted
+	ret = clk_prepare_enable(priv->mdio_clk);
+	if (ret)
+		return ret;
+
+	return 0;
This can be simplified to just:

      return clk_prepare_enable(priv->mdio_clk);

      Andrew
Thanks Andrew for the comments, will update it in the next patch set.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help