]> 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)
commitf63f5d0c5c36d72708dbec5687ee492a57488f46
tree05a7c99e0657bc46800c4ec10568b4312149c181
parentc344c3b6dc58b3a03ea2b50dd49b84fb6027a417
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