From: Wei Yongjun Date: Fri, 21 Sep 2012 06:12:31 +0000 (+0800) Subject: ARM: davinci: fix return value check by using IS_ERR in tnetv107x_devices_init() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~52^2~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a6a86121f55681b5ae7891d19a462883635beef;p=pandora-kernel.git ARM: davinci: fix return value check by using IS_ERR in tnetv107x_devices_init() In case of error, the function clk_get() returns ERR_PTR() not NULL pointer. The NULL test in the error handling should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun Signed-off-by: Sekhar Nori --- Reading git-diff-tree failed