]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: remove of_match_ptr() from analogix dp driver
authorSouptick Joarder <jrdr.linux@gmail.com>
Mon, 7 Jun 2021 18:48:36 +0000 (00:18 +0530)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 21 Sep 2021 09:53:42 +0000 (11:53 +0200)
commitc943d95792c9eb07dc0243b5f3a039d385a6962e
tree2afa4f32d7be5ec4a03de110eabe5195c30c5bcb
parent3d6985fdb990b77d72998456f66c29bdac5a0de9
drm/rockchip: remove of_match_ptr() from analogix dp driver

Kernel test robot throws below warning when CONFIG_OF
is not set.

>> drivers/gpu/drm/rockchip/analogix_dp-rockchip.c:457:34:
warning: unused variable 'rockchip_dp_dt_ids' [-Wunused-const-variable]
   static const struct of_device_id rockchip_dp_dt_ids[] = {

Fixed it by removing of_match_ptr().

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Cc: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210607184836.3502-1-jrdr.linux@gmail.com
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c