Re: [PATCH -next] isp1704_charger: remove useless check in isp1704_charger_probe()

2014-01-25 Thread Dmitry Eremin-Solenikov
On Tue, Jan 07, 2014 at 09:12:29PM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Neither devm_usb_get_phy_by_phandle() nor devm_usb_get_phy() can > return a NULL result, so remove the useless !isp->phy check. Thank you, applying. > Signed-off-by: Wei Yongjun > --- >

Re: [PATCH -next] isp1704_charger: remove useless check in isp1704_charger_probe()

2014-01-25 Thread Dmitry Eremin-Solenikov
On Tue, Jan 07, 2014 at 09:12:29PM +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Neither devm_usb_get_phy_by_phandle() nor devm_usb_get_phy() can return a NULL result, so remove the useless !isp-phy check. Thank you, applying. Signed-off-by: Wei Yongjun

[PATCH -next] isp1704_charger: remove useless check in isp1704_charger_probe()

2014-01-07 Thread Wei Yongjun
From: Wei Yongjun Neither devm_usb_get_phy_by_phandle() nor devm_usb_get_phy() can return a NULL result, so remove the useless !isp->phy check. Signed-off-by: Wei Yongjun --- drivers/power/isp1704_charger.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/power/isp1704_charger.c

[PATCH -next] isp1704_charger: remove useless check in isp1704_charger_probe()

2014-01-07 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Neither devm_usb_get_phy_by_phandle() nor devm_usb_get_phy() can return a NULL result, so remove the useless !isp-phy check. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/power/isp1704_charger.c | 2 -- 1 file changed, 2