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)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit7b8b81a72f01df1633271b4340da4d654dd6ab6c
tree5101f914602e2f7180a46aad86f6d23e5fb1da89
parent72c2b0cc333f8417b23aa0c9eb7eee1e66f46815
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>
(cherry picked from commit c3cad7223488638ab56c20b2c29345487857bc5f)
drivers/gpu/drm/drm_of.c
include/drm/drm_of.h