usb: host: fotg210: add missed clk_put calls
authorChuhong Yuan <hslester96@gmail.com>
Sat, 2 Nov 2019 06:22:45 +0000 (14:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Nov 2019 14:53:02 +0000 (15:53 +0100)
commita363d50515eb464a4e2aade12312cfdc1b156944
tree35e4c5d3250a0791b9b4801f88725dd73725fb2b
parent4ff0eccbb5c4487ef065931f5c566d85a5bfb5c9
usb: host: fotg210: add missed clk_put calls

The driver forgets to call clk_put when probe fails and remove.
Add the calls to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Link: https://lore.kernel.org/r/20191102062245.4014-1-hslester96@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/fotg210-hcd.c