Commit 8fac4fee authored by Yoshihiro Shimoda's avatar Yoshihiro Shimoda Committed by Greg Kroah-Hartman

usb: renesas_usbhs: revise the irq_vbus comments

Since the irq_vbus comments doesn't match with the current
implementation, this patch revises it. This patch also changes
new lines to reduce the source code lines.
Signed-off-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 257adc0f
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
* Renesas USB driver * Renesas USB driver
* *
* Copyright (C) 2011 Renesas Solutions Corp. * Copyright (C) 2011 Renesas Solutions Corp.
* Copyright (C) 2019 Renesas Electronics Corporation
* Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
*/ */
#ifndef RENESAS_USB_MOD_H #ifndef RENESAS_USB_MOD_H
...@@ -84,12 +85,11 @@ struct usbhs_mod_info { ...@@ -84,12 +85,11 @@ struct usbhs_mod_info {
/* /*
* INTSTS0 :: VBINT * INTSTS0 :: VBINT
* *
* This function will be used as autonomy mode * This function will be used as autonomy mode (runtime_pwctrl == 0)
* when platform cannot call notify_hotplug. * when the platform doesn't have own get_vbus function.
* *
* This callback cannot be member of "struct usbhs_mod" * This callback cannot be member of "struct usbhs_mod" because it
* because it will be used even though * will be used even though host/gadget has not been selected.
* host/gadget has not been selected.
*/ */
int (*irq_vbus)(struct usbhs_priv *priv, int (*irq_vbus)(struct usbhs_priv *priv,
struct usbhs_irq_state *irq_state); struct usbhs_irq_state *irq_state);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment