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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 8/11/2021 10:57 PM, Andrew Lunn wrote:
+	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.



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux