]> asedeno.scripts.mit.edu Git - linux.git/commit
spi: bcm2835aux: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 4 Sep 2019 13:58:47 +0000 (21:58 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 4 Sep 2019 16:16:08 +0000 (17:16 +0100)
commitd1975d0596ce6d25aff9aeea14ec3806548604d0
treebc6b19bbb04abbd476e479bf25d651248494c19c
parent7d6a5e2b17d46e8c48a6c7e326acb0aa4e8f9b2d
spi: bcm2835aux: 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-6-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm2835aux.c