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)
commit50ec5b563bed04b0b262822b755f6aa336f1f40a
treee2aeadb78b56f0d83bce46bd0a8f606acc845a8e
parent6b1ce0a2009b7e73cf31c1d737f1b8e487f5e8f8
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