From: Wei Yongjun Date: Fri, 21 Sep 2012 06:26:37 +0000 (+0800) Subject: ARM: OMAP: fix return value check in beagle_opp_init() X-Git-Tag: omap-for-v3.7-rc1/fixes-pm-signed^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=104c7949e20e84dedddb66c1fc4b599931382d21;p=pandora-kernel.git ARM: OMAP: fix return value check in beagle_opp_init() In case of error, the function omap_device_get_by_hwmod_name() returns ERR_PTR() not NULL pointer. The NULL test in the return value check 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: Kevin Hilman --- Reading git-diff-tree failed