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

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 sachin.ka...@linaro.org Cc: Hans de Goede hdego...@redhat.com Cc: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/phy/phy-sun4i-usb.c |5 ++--- 1 file changed,

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

2014-05-29 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

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

2014-05-29 Thread Sachin Kamat
PTR_ERR_OR_ZERO simplifies the code. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Hans de Goede hdego...@redhat.com Cc: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/phy/phy-sun4i-usb.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git