]> git.baikalelectronics.ru Git - kernel.git/commit
spi: st-ssc4: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 4 Sep 2019 13:59:10 +0000 (21:59 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 4 Sep 2019 16:22:10 +0000 (17:22 +0100)
commit6d71390e6a0ccdcee6fabfb56ba96930e1714240
treefe6d2b4b5fa8095886c09448b76408a35234fef2
parentde3acdb2d9c941fe88c66f59adccdd92f6f5e10b
spi: st-ssc4: 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-29-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-st-ssc4.c