[PATCH] drm/sun4i: Fix error code in sun4i_tcon_bind()

2018-01-15 Thread Dan Carpenter
We accidentally passed the wrong variable to PTR_ERR(). Fixes: a0c1214e4764 ("drm/sun4i: Add LVDS support") Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/sun4i/sun4i_tcon.c b/drivers/gpu/drm/sun4i/sun4i_tcon.c index b78fed809992..3c15cf24b503 100644 --- a/drivers/gpu/drm/sun4i/sun4i

Re: [PATCH] drm/sun4i: Fix error code in sun4i_tcon_bind()

2018-01-15 Thread Maxime Ripard
On Mon, Jan 15, 2018 at 11:11:13AM +0300, Dan Carpenter wrote: > We accidentally passed the wrong variable to PTR_ERR(). > > Fixes: a0c1214e4764 ("drm/sun4i: Add LVDS support") > Signed-off-by: Dan Carpenter Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel eng