diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2019-09-21 15:45:40 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-10-01 14:34:38 +0300 |
commit | 5dd381e71994ab554f711afe89b5a6157bdcd19d (patch) | |
tree | d1c1805bc68892ad681f88d71642595a2e5fd015 /drivers/spi/spi-slave-mt27xx.c | |
parent | 22262695f46b68659ba98a12e275df388c74968c (diff) | |
download | linux-5dd381e71994ab554f711afe89b5a6157bdcd19d.tar.xz |
spi: mediatek: Use devm_platform_ioremap_resource() in mtk_spi_probe()
Simplify this function implementation by using a known wrapper function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Link: https://lore.kernel.org/r/478e0df1-e800-8cf1-f9b3-d72f8e26aa0b@web.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-slave-mt27xx.c')
0 files changed, 0 insertions, 0 deletions