phy: rockchip-usb: fix clock get-put mismatch
From: Heiko Stuebner <heiko@...> Date: Tue, 3 Nov 2015 14:14:23 +0100
Commit-Message
Currently the phy driver only gets the optional clock reference but never puts it again, neither during error handling nor on remove. Fix that by moving the clk_put to a devm-action that gets called at the right time when all other devm actions are done. Signed-off-by: Heiko Stuebner <heiko@...> Reviewed-by: Douglas Anderson <dianders@...>
Patch-Comment
drivers/phy/phy-rockchip-usb.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
Statistics
- 12 lines added
- 0 lines removed