]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 4 Jul 2012 04:44:22 +0000 (05:44 +0100)
commit52c8c02cd596d6bd0a0a9313a6bc445b427f07d7
tree30d5b4b33e4d9256e0d5f355b57f15076760a3c0
parent6f4d747dfba5228b6041a9637fa0d944922ce72c
ARM: SAMSUNG: Should check for IS_ERR(clk) instead of NULL

commit a5d8f4765f0e92ef027492a8cb979c5b8d45f2c3 upstream.

On the error condition clk_get() returns ERR_PTR().

Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/arm/plat-samsung/include/plat/watchdog-reset.h