diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-09-04 16:59:02 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-09-04 19:20:23 +0300 |
commit | 4c6f537a0397d24cd74eefd473a74488801be673 (patch) | |
tree | 5d2da8b150db7135c82055c22da72265131f8734 /drivers/spi/spi-oc-tiny.c | |
parent | dcbceb6de0db24d383797d574e4a800fbef3580b (diff) | |
download | linux-4c6f537a0397d24cd74eefd473a74488801be673.tar.xz |
spi: nuc900: 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-21-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-oc-tiny.c')
0 files changed, 0 insertions, 0 deletions