Thread (3 messages) 3 messages, 2 authors, 2016-02-15

Re: [PATCH v2] phy: marvell: Fix and unify reg-init behavior

From: Fabio Estevam <festevam@gmail.com>
Date: 2016-02-15 20:54:31
Also in: lkml

On Mon, Feb 15, 2016 at 6:01 PM, Clemens Gruber
[off-list ref] 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); ?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help