[PATCH 2/2] drm/rockchip: Convert the probe function to the generic drm_of_component_probe()

2015-11-16 Thread Heiko Stübner
Am Montag, 16. November 2015, 16:52:06 schrieb Liviu Dudau: > On Mon, Nov 16, 2015 at 04:30:16PM +, Russell King - ARM Linux wrote: > > I've tweaked your patch to make the above (buggy) change a little clearer. > > > > On Mon, Nov 16, 2015 at 02:44:53PM +, Liviu Dudau wrote: > > > - for (i

[PATCH 2/2] drm/rockchip: Convert the probe function to the generic drm_of_component_probe()

2015-11-16 Thread Liviu Dudau
On Mon, Nov 16, 2015 at 04:30:16PM +, Russell King - ARM Linux wrote: > I've tweaked your patch to make the above (buggy) change a little clearer. > > On Mon, Nov 16, 2015 at 02:44:53PM +, Liviu Dudau wrote: > > - for (i = 0;; i++) { > > - port = of_parse_phandle(np, "ports", i

[PATCH 2/2] drm/rockchip: Convert the probe function to the generic drm_of_component_probe()

2015-11-16 Thread Russell King - ARM Linux
I've tweaked your patch to make the above (buggy) change a little clearer. On Mon, Nov 16, 2015 at 02:44:53PM +, Liviu Dudau wrote: > - for (i = 0;; i++) { > - port = of_parse_phandle(np, "ports", i); > - if (!port) > - break; > - > -

[PATCH 2/2] drm/rockchip: Convert the probe function to the generic drm_of_component_probe()

2015-11-16 Thread Liviu Dudau
Take two: Initial attempt to convert rockchip to drm_of_component_probe() missed the difference between ports and encoders when using the compare_of() function. Now that drm_of_component_probe() has been enhanced, let's try again the conversion. Signed-off-by: Liviu Dudau --- drivers/gpu/drm/roc