summaryrefslogtreecommitdiff
path: root/drivers/staging/dwc2/hcd.h
diff options
context:
space:
mode:
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>2013-03-26 00:03:35 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-26 00:10:35 (GMT)
commite62662c7f3079e02a1e59229901648758a49464a (patch)
treecd7549cf973733ca3f437257500784885a77d918 /drivers/staging/dwc2/hcd.h
parent8509f2f43a2b245ade076d1568daa2cf15446732 (diff)
downloadlinux-fsl-qoriq-e62662c7f3079e02a1e59229901648758a49464a.tar.xz
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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/dwc2/hcd.h b/drivers/staging/dwc2/hcd.h
index 775337e..8a60dcf 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);