Skip to content
Unverified Commit 5dd381e7 authored by Markus Elfring's avatar Markus Elfring Committed by Mark Brown
Browse files

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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Link: https://lore.kernel.org/r/478e0df1-e800-8cf1-f9b3-d72f8e26aa0b@web.de


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 22262695
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment