This patch fixes the following issue reported by Coverity:
if (IS_ERR(clk))
freed_arg: kfree frees clk. [Note: The source code implementation of the
function has been overridden by a builtin model.]
kfree(clk);
Use after free (USE_AFTER_FREE)
use_after_free: Using freed pointer clk.
return clk;