Re: [PATCH 3/3] phy: sun4i-usb: Use PTR_ERR_OR_ZERO

2014-05-30 Thread Hans de Goede
Hi, On 05/29/2014 08:30 AM, Sachin Kamat wrote: > PTR_ERR_OR_ZERO simplifies the code. > > Signed-off-by: Sachin Kamat > Cc: Hans de Goede > Cc: Maxime Ripard > --- > drivers/phy/phy-sun4i-usb.c |5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/phy/phy-

[PATCH 3/3] phy: sun4i-usb: Use PTR_ERR_OR_ZERO

2014-05-28 Thread Sachin Kamat
PTR_ERR_OR_ZERO simplifies the code. Signed-off-by: Sachin Kamat Cc: Hans de Goede Cc: Maxime Ripard --- drivers/phy/phy-sun4i-usb.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/phy/phy-sun4i-usb.c b/drivers/phy/phy-sun4i-usb.c index 115d8d5190d5..7a4ea55