commit | fee4f2c66a3b0f0e97e16b3084e8c4151ae9196f | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Sun Sep 22 06:04:23 2013 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Tue Sep 24 14:03:05 2013 +0100 |
tree | 0813f6628bfa21f58428d8cd5891671636fb0644 | |
parent | b91c8f284acc2cb2aa43a1ce58322573ad983a14 [diff] |
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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: Will Deacon <will.deacon@arm.com>