diff options
author | 2013-09-22 06:04:23 +0100 | |
---|---|---|
committer | 2013-09-24 14:03:05 +0100 | |
commit | fee4f2c66a3b0f0e97e16b3084e8c4151ae9196f (patch) | |
tree | 0813f6628bfa21f58428d8cd5891671636fb0644 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drivers: CCI: add ARM CCI PMU support (diff) | |
download | linux-dev-fee4f2c66a3b0f0e97e16b3084e8c4151ae9196f.tar.xz linux-dev-fee4f2c66a3b0f0e97e16b3084e8c4151ae9196f.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions