diff options
author | 2013-03-25 17:03:35 -0700 | |
---|---|---|
committer | 2013-03-25 17:10:35 -0700 | |
commit | e62662c7f3079e02a1e59229901648758a49464a (patch) | |
tree | cd7549cf973733ca3f437257500784885a77d918 /drivers/staging/dwc2/hcd.h | |
parent | staging: dwc2: always release host channel after dequeueing (diff) | |
download | linux-dev-e62662c7f3079e02a1e59229901648758a49464a.tar.xz linux-dev-e62662c7f3079e02a1e59229901648758a49464a.zip |
staging: dwc2: remove unneeded arguments from two functions
Remove the unneeded struct device *dev argument from dwc2_hcd_init()
and dwc2_hcd_remove(), and pass in the value through the hsotg->dev
member instead
Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dwc2/hcd.h')
-rw-r--r-- | drivers/staging/dwc2/hcd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/dwc2/hcd.h b/drivers/staging/dwc2/hcd.h index 775337e92785..8a60dcf886eb 100644 --- a/drivers/staging/dwc2/hcd.h +++ b/drivers/staging/dwc2/hcd.h @@ -447,9 +447,9 @@ static inline u8 dwc2_hcd_is_pipe_out(struct dwc2_hcd_pipe_info *pipe) return !dwc2_hcd_is_pipe_in(pipe); } -extern int dwc2_hcd_init(struct device *dev, struct dwc2_hsotg *hsotg, - int irq, struct dwc2_core_params *params); -extern void dwc2_hcd_remove(struct device *dev, struct dwc2_hsotg *hsotg); +extern int dwc2_hcd_init(struct dwc2_hsotg *hsotg, int irq, + struct dwc2_core_params *params); +extern void dwc2_hcd_remove(struct dwc2_hsotg *hsotg); extern int dwc2_set_parameters(struct dwc2_hsotg *hsotg, struct dwc2_core_params *params); |