OSDN Git Service

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)
commitb619c2ea32fb660181d738b35211e7cd79ee5143
treeda5df814cd5361ae8021e14fe416cb63b28e7c61
parentb2fb212d9e3070d0d457a39e29dcf61899c3a2c5
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