diff options
author | Wei Yongjun <[email protected]> | 2013-09-22 06:04:23 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2013-09-24 14:03:05 +0100 |
commit | fee4f2c66a3b0f0e97e16b3084e8c4151ae9196f (patch) | |
tree | 0813f6628bfa21f58428d8cd5891671636fb0644 /tools/perf/util/trace-event-scripting.c | |
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 <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions