perf: xgene: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Fri, 6 Sep 2019 14:37:35 +0000 (22:37 +0800)
committerWill Deacon <will@kernel.org>
Tue, 1 Oct 2019 11:28:46 +0000 (12:28 +0100)
commit7fdd7f7c33d2451cf4865b95b24d57785c0ff515
tree80fffc990615ee38245536ec138880ba53f6afbd
parent42c184ade43a79d36f50a0b3394b3326633f53f5
perf: xgene: use devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/xgene_pmu.c