usb: phy: initialize the notifier when add a new phy
authorNeil Zhang <zhangwm@marvell.com>
Wed, 11 Dec 2013 06:45:14 +0000 (14:45 +0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 12 Dec 2013 19:43:34 +0000 (13:43 -0600)
commit31e322272d9d7da0724ae6e3180478575aa48909
treed060afe182c78e1c139d3cc158150ab40c351f9f
parent1b2e21b082a1c67cd7861bd86c4a46a3f0f348ea
usb: phy: initialize the notifier when add a new phy

We need to initialize the notifer before use it.

So lets initialize it when add a new phy device to
reduce the code redundancy.

Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-ab8500-usb.c
drivers/usb/phy/phy-generic.c
drivers/usb/phy/phy-gpio-vbus-usb.c
drivers/usb/phy/phy-mxs-usb.c
drivers/usb/phy/phy.c