On Mon, Feb 15, 2016 at 6:01 PM, Clemens Gruber <[email protected]> wrote:
> +static int marvell_config_init(struct phy_device *phydev)
> +{
> + int err;
> +
> + /* Set registers from marvell,reg-init DT property */
> + err = marvell_of_reg_init(phydev);
> + if (err < 0)
> + return err;
> +
> + return 0;
> }
Couldn't this be replaced by
return marvell_of_reg_init(phydev); ?

