]> git.baikalelectronics.ru Git - kernel.git/commit
media: rc: img-ir: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 1 Sep 2021 05:54:20 +0000 (07:54 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 08:07:50 +0000 (10:07 +0200)
commit097b35c2aee9061e0c808c7fc9c2d4a7653f64d2
treeda5df814cd5361ae8021e14fe416cb63b28e7c61
parentedcab012a1d3dca0a9a8670fdb2ab393ffa0b40f
media: rc: img-ir: Make use of the helper function devm_platform_ioremap_resource()

Use the devm_platform_ioremap_resource() helper instead of
calling platform_get_resource() and devm_ioremap_resource()
separately

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/rc/img-ir/img-ir-core.c