From fee4f2c66a3b0f0e97e16b3084e8c4151ae9196f Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Sun, 22 Sep 2013 06:04:23 +0100 Subject: [PATCH] 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-format-patch failed