]> git.baikalelectronics.ru Git - kernel.git/commit
spi: bcm63xx-hsspi: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 4 Sep 2019 13:58:49 +0000 (21:58 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 4 Sep 2019 16:16:47 +0000 (17:16 +0100)
commit52fc5e7aea0f6f981b29627cd9495b71ec1697d9
tree5d59f27534c723d471afdb6083f080cc663b6a69
parente5f8963c62d596b68c322ad1fb94543cf3954352
spi: bcm63xx-hsspi: 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-8-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm63xx-hsspi.c