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>
This commit is contained in:
Markus Elfring 2019-09-18 06:20:48 -03:00 • committed by Mauro Carvalho Chehab
commit d8b1ad7ce7
2 changed files with 2 additions and 13 deletions