From: Wei Yongjun Date: Wed, 30 Oct 2013 05:23:21 +0000 (+0800) Subject: ARM: OMAP3: Beagle: fix return value check in beagle_opp_init() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c27f2de754a1412ce4a6c4af723605f776ec4ac2;p=pandora-kernel.git ARM: OMAP3: Beagle: fix return value check in beagle_opp_init() In case of error, the function get_cpu_device() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed