diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-09-04 21:59:00 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-09-04 17:19:54 +0100 |
commit | d4225b3665e37167c9661c1c67cb2787134ce53a (patch) | |
tree | d4c0100dbda76f96a478884c4898545d9380444b /drivers/spi/spi-fsl-espi.c | |
parent | f88771ca7104e47d3c62ec9872104d8252f844a0 (diff) |
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>
Diffstat (limited to 'drivers/spi/spi-fsl-espi.c')
0 files changed, 0 insertions, 0 deletions