commit | 6ba794dfbb537719f96b8ba96c8bf73930969759 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Wed Sep 04 21:58:48 2019 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Sep 04 17:16:28 2019 +0100 |
tree | 4f8299246e2835979ccbbb958b2450030da5fad5 | |
parent | d1975d0596ce6d25aff9aeea14ec3806548604d0 [diff] |
spi: bcm2835: use devm_platform_ioremap_resource() to simplify code Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20190904135918.25352-7-yuehaibing@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>