]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/usb/dwc2/hcd.c
staging: dwc2: remove unneeded arguments from two functions
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>
Tue, 26 Mar 2013 00:03:35 +0000 (17:03 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Mar 2013 00:10:35 +0000 (17:10 -0700)
commite62662c7f3079e02a1e59229901648758a49464a
treecd7549cf973733ca3f437257500784885a77d918
parent8509f2f43a2b245ade076d1568daa2cf15446732
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>
drivers/staging/dwc2/hcd.c
drivers/staging/dwc2/hcd.h
drivers/staging/dwc2/pci.c