]> git.baikalelectronics.ru Git - kernel.git/commit
drm/komeda: Use devm_platform_ioremap_resource() in komeda_dev_create()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 21 Sep 2019 17:43:51 +0000 (19:43 +0200)
committerMihail Atanassov <mihail.atanassov@arm.com>
Wed, 6 Nov 2019 17:14:02 +0000 (17:14 +0000)
commit7fb86307972c0f573b0c876e53469e8648b28594
treee2aeadb78b56f0d83bce46bd0a8f606acc845a8e
parent914e7450be25188aec275e37a726cc0aaa0b1bfe
drm/komeda: Use devm_platform_ioremap_resource() in komeda_dev_create()

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>
Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/64a6ea39-3e4b-2ebe-74f7-98720e581e3e@web.de
drivers/gpu/drm/arm/display/komeda/komeda_dev.c