]> asedeno.scripts.mit.edu Git - linux.git/commit
spi: mt7621: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 4 Sep 2019 13:58:59 +0000 (21:58 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 4 Sep 2019 16:19:34 +0000 (17:19 +0100)
commitf88771ca7104e47d3c62ec9872104d8252f844a0
tree353e20113eabddd22523975766117d48c0f32ba3
parent425aa308a23cf321a7421bdada2f980ed87ae909
spi: mt7621: 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-18-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mt7621.c