diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-09-04 21:59:04 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-09-04 17:20:52 +0100 |
commit | e751032bcbd73667dde1a640109653a64f45a7d1 (patch) | |
tree | 02ee7ceba52aa1625681d1799d818b7c0aa28a3d /drivers/spi/spi-sun6i.c | |
parent | f601a654bb47b89a469446ecca6c0183a5c75b96 (diff) | |
download | linux-e751032bcbd73667dde1a640109653a64f45a7d1.tar.bz2 |
spi: pic32-sqi: 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-23-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-sun6i.c')
0 files changed, 0 insertions, 0 deletions