From: Wei Yongjun Date: Sun, 22 Sep 2013 05:04:23 +0000 (+0100) Subject: drivers: CCI: fix the error handle in cci_pmu_probe() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~49^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fee4f2c66a3b0f0e97e16b3084e8c4151ae9196f;p=pandora-kernel.git drivers: CCI: fix the error handle in cci_pmu_probe() This patch fix the error handle of function cci_pmu_probe(): - using IS_ERR() instead of NULL test for the return value of devm_ioremap_resource() since it nerver return NULL. - remove kfree() for devm_kzalloc allocated memory - remove dev_warn() since devm_ioremap_resource() has error message already. Signed-off-by: Wei Yongjun Signed-off-by: Will Deacon --- Reading git-diff-tree failed