diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-09-22 06:04:23 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2013-09-24 14:03:05 +0100 |
commit | fee4f2c66a3b0f0e97e16b3084e8c4151ae9196f (patch) | |
tree | 0813f6628bfa21f58428d8cd5891671636fb0644 /firmware/keyspan_pda | |
parent | b91c8f284acc2cb2aa43a1ce58322573ad983a14 (diff) | |
download | blackbird-op-linux-fee4f2c66a3b0f0e97e16b3084e8c4151ae9196f.tar.gz blackbird-op-linux-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 'firmware/keyspan_pda')
0 files changed, 0 insertions, 0 deletions