Liviu Dudau <Liviu.Dudau at arm.com> writes: > A lot of component based DRM drivers use a variant of the same code > as the probe function. They bind the crtc ports in the first iteration > and then scan through the child nodes and bind the encoders attached > to the remote endpoints. Factor the common code into a separate > function called drm_of_component_probe() in order to increase code > reuse. > > Cc: David Airlie <airlied at linux.ie> > Signed-off-by: Liviu Dudau <Liviu.Dudau at arm.com> Acked-by: Eric Anholt <eric at anholt.net> I'm unimpressed with of-graph, but this will really help me in trying it out for vc4. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20151020/89fac9af/attachment.sig>