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)
commita5d8f4765f0e92ef027492a8cb979c5b8d45f2c3
tree96b10a1dce35879407f6959a81ba29e569117b1f
parent485802a6c524e62b5924849dd727ddbb1497cc71
ARM: SAMSUNG: Should check for IS_ERR(clk) instead of NULL

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>
arch/arm/plat-samsung/include/plat/watchdog-reset.h