]> asedeno.scripts.mit.edu Git - linux.git/commit
media: staging: media: imx: Use devm_platform_ioremap_resource().
authorJeeeun Evans <jeeeunevans@gmail.com>
Thu, 26 Sep 2019 15:55:39 +0000 (12:55 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 10 Oct 2019 10:20:53 +0000 (07:20 -0300)
commit80a501a46f0887ad2a17e1bdfdd753a4e75bbe7c
treeb2fdab5f7c1569b0d47feb3bd913297694825bc6
parente1444e9b0424c70def6352580762d660af50e03f
media: staging: media: imx: Use devm_platform_ioremap_resource().

This patch fixes a warning by coccicheck:
drivers/staging/media/imx/imx7-mipi-csis.c:973:1-12: WARNING: Use devm_platform_ioremap_resource for state -> regs

Use devm_platform_ioremap_resource helper which wraps platform_get_resource()
and devm_ioremap_resource() together.

Signed-off-by: Jeeeun Evans <jeeeunevans@gmail.com>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/imx/imx7-mipi-csis.c