diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-10-24 05:25:48 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-12 04:44:59 -0500 |
commit | b4fcea2a71cafc59a749fa3ef88e51af8c2e3b37 (patch) | |
tree | ef0ab84ad857413cb35e3633dda19538e3841934 /drivers/usb/renesas_usbhs/common.c | |
parent | f1ee56a0004c4a5974e7a69665330b6ff818bf92 (diff) |
usb: gadget: renesas_usbhs: unified callback function
renesas_usbhs needs callback for notify hotplug.
but it were 2 methods which are almost same.
This patch unified these into one.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs/common.c')
-rw-r--r-- | drivers/usb/renesas_usbhs/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c index 17bf1f74377a..0fea6b63ccce 100644 --- a/drivers/usb/renesas_usbhs/common.c +++ b/drivers/usb/renesas_usbhs/common.c | |||
@@ -385,7 +385,7 @@ static void usbhsc_notify_hotplug(struct work_struct *work) | |||
385 | usbhsc_hotplug(priv); | 385 | usbhsc_hotplug(priv); |
386 | } | 386 | } |
387 | 387 | ||
388 | int usbhsc_drvcllbck_notify_hotplug(struct platform_device *pdev) | 388 | static int usbhsc_drvcllbck_notify_hotplug(struct platform_device *pdev) |
389 | { | 389 | { |
390 | struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); | 390 | struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); |
391 | int delay = usbhs_get_dparam(priv, detection_delay); | 391 | int delay = usbhs_get_dparam(priv, detection_delay); |