usb: dwc_otg: Remove build warnings 87/159587/2
authorWook Song <wook16.song@samsung.com>
Fri, 10 Nov 2017 02:22:55 +0000 (11:22 +0900)
committerWook Song <wook16.song@samsung.com>
Fri, 10 Nov 2017 04:07:58 +0000 (13:07 +0900)
commitf1949c090b097cdd0ae7fa77ed35fa8e66ccee06
treefc7d94f4a319744cfb0d4917c6d4192e84ebd899
parente559aa06b789ade17bbeaa5ff707380f67a39a34
usb: dwc_otg: Remove build warnings

This patch removes build warnings caused by type conversions without
cast, unused variables/functions, wrong printk format strings, 'return'
with a value in function returning void, and ignorance of return value
of several functions.

Change-Id: Icbb1b40984f6ad3f78a3a921320fdf7660e4f7d2
Signed-off-by: Wook Song <wook16.song@samsung.com>
drivers/usb/gadget/dwc_otg/dwc_otg_attr.c
drivers/usb/gadget/dwc_otg/dwc_otg_driver.c
drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c
drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c
drivers/usb/gadget/dwc_otg/usb_hw.c