ARM: SAMSUNG: Should check for IS_ERR(clk) instead of NULL
authorJonghwan Choi <jhbird.choi@samsung.com>
Wed, 20 Jun 2012 08:05:37 +0000 (17:05 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 20 Jun 2012 08:05:44 +0000 (17:05 +0900)
On the error condition clk_get() returns ERR_PTR().

Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>

No differences found