]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: dwc2: Remove unnecessary prototypes
authorJohn Youn <johnyoun@synopsys.com>
Fri, 4 Nov 2016 00:56:00 +0000 (17:56 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:12 +0000 (13:54 +0200)
commitc1d286cfb0be5eaa8d4e1b749d9e5c9de9768889
treef8d9db12e17731463229e15e9c968d7c12588fbc
parent0a7d0d7fa820e4281370795ef43c6aaa8b91a07e
usb: dwc2: Remove unnecessary prototypes

Remove the unnecessary prototypes for all the parameter setting
functions and declare those functions 'static' in the params.c file.

Also remove the duplicate documentation that went along with them. They
are already documented as part of the params structure definition.

Then move the constants that went along with the prototype into the
structure.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/core.h
drivers/usb/dwc2/params.c