media: stm32-dcmi: Drop unnecessary of_match_device() call
authorRob Herring <robh@kernel.org>
Wed, 15 Nov 2023 20:59:04 +0000 (21:59 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 23 Nov 2023 12:38:20 +0000 (13:38 +0100)
commit197f6e6cbf979c05aecceee2ba9b9ed7d7c275b8
treef504f30afb203be8ea6f26747de90b8db3ac946c
parent38e1857933def4b3fafc28cc34ff3bbc84cad2c3
media: stm32-dcmi: Drop unnecessary of_match_device() call

If probe is reached, we've already matched the device and in the case of
DT matching, the struct device_node pointer will be set. Therefore, there
is no need to call of_match_device() in probe.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/st/stm32/stm32-dcmi.c