ARM: SAMSUNG: Should check for IS_ERR(clk) instead of NULL
On the error condition clk_get() returns ERR_PTR(). Signed-off-by: NJonghwan Choi <jhbird.choi@samsung.com> Cc: Stable <stable@vger.kernel.org> Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
Showing
想要评论请 注册 或 登录