media: bcm2835-unicam: Fix build with !PM
authorRicardo Ribalda <ribalda@chromium.org>
Wed, 1 May 2024 13:08:09 +0000 (14:08 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 2 May 2024 10:12:04 +0000 (11:12 +0100)
commit4454369771712af1305479b59df694eafb979798
tree50eb331fe90699bccd00cfc30a6f043ca2f2a6e6
parenta1c6d22421501fc1016b99ac8570a1030714c70f
media: bcm2835-unicam: Fix build with !PM

The driver can only match the device vide the DT table, so the table
should always be used, of_match_ptr does not make sense here.

It fixes this warning:
drivers/media/platform/broadcom/bcm2835-unicam.c:2724:34: warning: â€˜unicam_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/broadcom/bcm2835-unicam.c