staging: octeon-usb: use correct function for hcd cleanup
authorAnton Bondarenko <anton.bondarenko.sama@gmail.com>
Mon, 8 May 2017 23:33:15 +0000 (01:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 05:43:55 +0000 (07:43 +0200)
commit9bbf84e6041fb0d7f67208ec8557473ffcd7157c
tree5a56323e9a2a3e4343d3f395ec6d78931a32dffa
parent92abe42b3534203ab691f92ed71af766d54a8a38
staging: octeon-usb: use correct function for hcd cleanup

Use usb_put_hdc to release hdc allocated by usb_create_hcd.
This is needed to handle sub-allocations and HCD sharing correctly.

Signed-off-by: Anton Bondarenko <anton.bondarenko.sama@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon-usb/octeon-hcd.c