media: platform: Use devm_platform_ioremap_resource() in two functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 18 Sep 2019 09:20:48 +0000 (06:20 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 10 Oct 2019 10:29:07 +0000 (07:29 -0300)
commitd8b1ad7ce76513efaa463c25d261dab67f7f1f67
tree47f79b46db755663079ff69dafd66a2a41e16120
parent5c9de1fa03e9bb67c8d82240fcb8f550036090b7
media: platform: Use devm_platform_ioremap_resource() in two functions

Simplify these function implementations 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: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c
drivers/media/platform/rcar-vin/rcar-core.c