diff options
author | Qing Zhang <zhangqing@loongson.cn> | 2020-11-21 04:43:51 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-11-23 21:42:05 +0100 |
commit | 2ed6e3bac15242c18bef5af12547a13b25b65ac8 (patch) | |
tree | 5b2030f69239c249334d8b563a437ebb4aff1c52 /drivers/spi/spi.c | |
parent | spi: Warn when a driver's remove callback returns an error (diff) | |
download | linux-2ed6e3bac15242c18bef5af12547a13b25b65ac8.tar.xz linux-2ed6e3bac15242c18bef5af12547a13b25b65ac8.zip |
spi: amd: Use devm_platform_ioremap_resource() in amd_spi_probe
Simplify this function implementation by using a known wrapper function.
Signed-off-by: Qing Zhang <zhangqing@loongson.cn>
Link: https://lore.kernel.org/r/1605930231-19448-1-git-send-email-zhangqing@loongson.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi.c')
0 files changed, 0 insertions, 0 deletions