Commit 259127ba authored by Peter Senna Tschudin's avatar Peter Senna Tschudin Committed by Greg Kroah-Hartman

usb/host/fotg210: Fix coding style issues

This patch fix coding style issues reported by checkpatch that do not
change semantics of the code.
Signed-off-by: default avatarPeter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 34e51ba6
This diff is collapsed.
...@@ -137,19 +137,25 @@ struct fotg210_hcd { /* one per controller */ ...@@ -137,19 +137,25 @@ struct fotg210_hcd { /* one per controller */
/* per root hub port */ /* per root hub port */
unsigned long reset_done[FOTG210_MAX_ROOT_PORTS]; unsigned long reset_done[FOTG210_MAX_ROOT_PORTS];
/* bit vectors (one bit per port) */ /* bit vectors (one bit per port)
unsigned long bus_suspended; /* which ports were * which ports were already suspended at the start of a bus suspend
already suspended at the start of a bus suspend */ */
unsigned long companion_ports; /* which ports are unsigned long bus_suspended;
dedicated to the companion controller */
unsigned long owned_ports; /* which ports are /* which ports are edicated to the companion controller */
owned by the companion during a bus suspend */ unsigned long companion_ports;
unsigned long port_c_suspend; /* which ports have
the change-suspend feature turned on */ /* which ports are owned by the companion during a bus suspend */
unsigned long suspended_ports; /* which ports are unsigned long owned_ports;
suspended */
unsigned long resuming_ports; /* which ports have /* which ports have the change-suspend feature turned on */
started to resume */ unsigned long port_c_suspend;
/* which ports are suspended */
unsigned long suspended_ports;
/* which ports have started to resume */
unsigned long resuming_ports;
/* per-HC memory pools (could be per-bus, but ...) */ /* per-HC memory pools (could be per-bus, but ...) */
struct dma_pool *qh_pool; /* qh per active urb */ struct dma_pool *qh_pool; /* qh per active urb */
...@@ -585,10 +591,10 @@ struct fotg210_fstn { ...@@ -585,10 +591,10 @@ struct fotg210_fstn {
/* Prepare the PORTSC wakeup flags during controller suspend/resume */ /* Prepare the PORTSC wakeup flags during controller suspend/resume */
#define fotg210_prepare_ports_for_controller_suspend(fotg210, do_wakeup) \ #define fotg210_prepare_ports_for_controller_suspend(fotg210, do_wakeup) \
fotg210_adjust_port_wakeup_flags(fotg210, true, do_wakeup); fotg210_adjust_port_wakeup_flags(fotg210, true, do_wakeup)
#define fotg210_prepare_ports_for_controller_resume(fotg210) \ #define fotg210_prepare_ports_for_controller_resume(fotg210) \
fotg210_adjust_port_wakeup_flags(fotg210, false, false); fotg210_adjust_port_wakeup_flags(fotg210, false, false)
/*-------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/
......
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