]> git.baikalelectronics.ru Git - kernel.git/commit
usb: isp1760: Don't expose hcd to glue code from isp1760_register
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 20 Jan 2015 22:55:47 +0000 (00:55 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 27 Jan 2015 15:38:33 +0000 (09:38 -0600)
commitc173baf028bdf49dab2e6ec19de72b8251338531
tree05a7c99e0657bc46800c4ec10568b4312149c181
parentd6891233050c8fce0a1e862144fe705a4ebc61b8
usb: isp1760: Don't expose hcd to glue code from isp1760_register

The glue code probe functions don't need to access the hcd structure
anymore. Modify isp1760_register to return an integer error code instead
of the hcd pointer.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/host/isp1760-hcd.c
drivers/usb/host/isp1760-hcd.h
drivers/usb/host/isp1760-if.c