]> git.baikalelectronics.ru Git - kernel.git/commit
media: rc: ir-hix5hd2: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 1 Sep 2021 05:54:27 +0000 (07:54 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 08:07:50 +0000 (10:07 +0200)
commita4dde77118f9fd79de45a87f5f4b3da9873ffe92
tree3a74b60d1f9b1b84d74a2e26eb295e96137ec20d
parent097b35c2aee9061e0c808c7fc9c2d4a7653f64d2
media: rc: ir-hix5hd2: 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/ir-hix5hd2.c