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