Re: [PATCH v2 2/3] of_mdio: use IS_ERR_OR_NULL()

2016-03-14 Thread Sergei Shtylyov
On 03/14/2016 01:22 AM, Arnd Bergmann wrote: IS_ERR_OR_NULL() is open coded in of_mdiobus_register_phy(), so just call it directly... Signed-off-by: Sergei Shtylyov Reviewed-by: Florian Fainelli --- Changes in version 2: - removed the of_mdiobus_register_device() hunk; - added the "Reviewed-

Re: [PATCH v2 2/3] of_mdio: use IS_ERR_OR_NULL()

2016-03-13 Thread Arnd Bergmann
On Sunday 13 March 2016 00:34:02 Sergei Shtylyov wrote: > IS_ERR_OR_NULL() is open coded in of_mdiobus_register_phy(), so just call > it directly... > > Signed-off-by: Sergei Shtylyov > Reviewed-by: Florian Fainelli > > --- > Changes in version 2: > - removed the of_mdiobus_register_device() hu

[PATCH v2 2/3] of_mdio: use IS_ERR_OR_NULL()

2016-03-12 Thread Sergei Shtylyov
IS_ERR_OR_NULL() is open coded in of_mdiobus_register_phy(), so just call it directly... Signed-off-by: Sergei Shtylyov Reviewed-by: Florian Fainelli --- Changes in version 2: - removed the of_mdiobus_register_device() hunk; - added the "Reviewed-by:" tag. drivers/of/of_mdio.c |2 +- 1 fi