]> git.baikalelectronics.ru Git - kernel.git/commit
spi: rb4xx: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 4 Sep 2019 13:59:06 +0000 (21:59 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 4 Sep 2019 16:21:21 +0000 (17:21 +0100)
commit54d1ac3a3641dcb4893bd1c8888c29c715c92e32
tree0369a945d3e7a99be6bac9deb041cbb7c4131773
parent956ca62521373c839d10b5d7cc098b2f62d33172
spi: rb4xx: 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-25-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rb4xx.c