MLK-16290 drm: Add drm_of_component_probe_with_match() helper
authorLiu Ying <victor.liu@nxp.com>
Tue, 29 Aug 2017 08:58:58 +0000 (16:58 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:38:23 +0000 (15:38 -0500)
commit5175e44399e467e928dace8e337bf0349e0ad350
treedaf830ba264a3161e0aa894ba4949556b4838aa7
parent7aba9ebede4e01e24fd46a32c1ee99b521c6df80
MLK-16290 drm: Add drm_of_component_probe_with_match() helper

A component master may have both OF based and non-OF based components to be
bound with.  This patch adds a helper drm_of_component_probe_with_match()
similar to drm_of_component_probe() so that the new helper may get an
additional provided match pointer(contains match entries for non-OF based
components) to support this case.

Tested-by: Meng Mingming <mingming.meng@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
drivers/gpu/drm/drm_of.c
include/drm/drm_of.h