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]

 



> +	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




[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