]> git.baikalelectronics.ru Git - kernel.git/commit
spi: octeon: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 4 Sep 2019 13:58:51 +0000 (21:58 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 4 Sep 2019 16:17:27 +0000 (17:17 +0100)
commit1ff679b88d3bef861ccec0c93bbdf769608f8bfa
tree5730b3ad18248bee382a1b1ef4e2579e50e271a0
parentcca49eaa53edeca0b9fe07c40cea230fdbd2be5e
spi: octeon: 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-10-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-cavium-octeon.c