media: hi846: remove the of_match_ptr macro
authorMartin Kepplinger <martin.kepplinger@puri.sm>
Tue, 19 Oct 2021 15:55:09 +0000 (16:55 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 19 Nov 2021 05:56:07 +0000 (05:56 +0000)
commit62456590b84965ad8d633dbd8f8c75fcf1e765d6
tree5be995cb5cc8861f973c4976701a6b1f4a560c9f
parente7cc3e09600822eb4f87734ff850724ea4dc540b
media: hi846: remove the of_match_ptr macro

Similar to other drivers, this should fix a Clang compilar warning when
building without CONFIG_OF in which case of_match_ptr() is NULL and
the const struct we would use otherwise is unused.

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/hi846.c