RE: [PATCH] usb: phy: initilize the notifier when add a new phy

2013-12-10 Thread Neil Zhang
> -Original Message- > From: Neil Zhang [mailto:zhan...@marvell.com] > Sent: 2013年12月11日 14:18 > To: ba...@ti.com; gre...@linuxfoundation.org > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Neil Zhang > Subject: [PATCH] usb: phy: initilize the notifier

[PATCH] usb: phy: initilize the notifier when add a new phy

2013-12-10 Thread Neil Zhang
We need to initilize the notifer before use it. So lets initilize it when add a new phy device to reduce the code redundance. Signed-off-by: Neil Zhang --- drivers/usb/phy/phy-ab8500-usb.c|2 -- drivers/usb/phy/phy-generic.c |1 - drivers/usb/phy/phy-gpio-vbus-usb.c |2 --

[PATCH] usb: phy: initilize the notifier when add a new phy

2013-12-10 Thread Neil Zhang
We need to initilize the notifer before use it. So lets initilize it when add a new phy device to reduce the code redundance. Signed-off-by: Neil Zhang zhan...@marvell.com --- drivers/usb/phy/phy-ab8500-usb.c|2 -- drivers/usb/phy/phy-generic.c |1 -

RE: [PATCH] usb: phy: initilize the notifier when add a new phy

2013-12-10 Thread Neil Zhang
-Original Message- From: Neil Zhang [mailto:zhan...@marvell.com] Sent: 2013年12月11日 14:18 To: ba...@ti.com; gre...@linuxfoundation.org Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Neil Zhang Subject: [PATCH] usb: phy: initilize the notifier when add a new phy We