Re: [PATCH v3 2/5] drm: of: introduce drm_of_find_panel_or_bridge

2017-03-22 Thread Philipp Zabel
On Wed, 2017-03-22 at 08:26 -0500, Rob Herring wrote: > Many drivers have a common pattern of searching the OF graph for either an > attached panel or bridge and then finding the DRM struct for the panel > or bridge. Also, most drivers need to handle deferred probing when the > DRM device is not ye

[PATCH v3 2/5] drm: of: introduce drm_of_find_panel_or_bridge

2017-03-22 Thread Rob Herring
Many drivers have a common pattern of searching the OF graph for either an attached panel or bridge and then finding the DRM struct for the panel or bridge. Also, most drivers need to handle deferred probing when the DRM device is not yet instantiated. Create a common function, drm_of_find_panel_or