Skip to content
Commit fd6ef285 authored by Anson Huang's avatar Anson Huang Committed by Shawn Guo
Browse files

clk: imx: Add API for clk unregister when driver probe fail



For i.MX clock drivers probe fail case, clks should be unregistered
in the return path, this patch adds a common API for i.MX clock
drivers to unregister clocks when fail.

Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 34af5179
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment