Skip to content
Commit a0691f28 authored by Markus Elfring's avatar Markus Elfring Committed by Ulf Hansson
Browse files

pmdomain: mediatek: Use devm_platform_ioremap_resource() in init_scp()



A wrapper function is available since the commit 7945f929
("drivers: provide devm_platform_ioremap_resource()").

* Thus reuse existing functionality instead of keeping duplicate source code.

* Delete a local variable which became unnecessary with this refactoring.

This issue was transformed by using the Coccinelle software.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/6e397bf2-1d45-434f-8619-58a737a138e3@web.de


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent ce816e0b
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