[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YRPlZGXWJGoLRSSN@lunn.ch>
Date: Wed, 11 Aug 2021 16:57:40 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Luo Jie <luoj@...eaurora.org>
Cc: agross@...nel.org, bjorn.andersson@...aro.org, davem@...emloft.net,
kuba@...nel.org, robh+dt@...nel.org, hkallweit1@...il.com,
linux@...linux.org.uk, robert.marko@...tura.hr,
linux-arm-msm@...r.kernel.org, netdev@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
sricharan@...eaurora.org
Subject: Re: [PATCH v2 1/3] net: mdio: Add the reset function for IPQ MDIO
driver
> + 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
Powered by blists - more mailing lists