Re: [PATCH] drm/sun4i: use sun4i_tcon_of_table to check if a device node is a TCON

2017-11-30 Thread Maxime Ripard
On Wed, Nov 29, 2017 at 11:43:14AM +0800, Chen-Yu Tsai wrote: > On Tue, Nov 28, 2017 at 6:01 PM, Maxime Ripard > wrote: > > Hi, > > > > On Mon, Nov 27, 2017 at 04:46:32PM +0800, Chen-Yu Tsai wrote: > >> The sun4i DRM driver maintains a list of compatible strings it uses to > >> check if a device n

Re: [PATCH] drm/sun4i: use sun4i_tcon_of_table to check if a device node is a TCON

2017-11-28 Thread Chen-Yu Tsai
On Tue, Nov 28, 2017 at 6:01 PM, Maxime Ripard wrote: > Hi, > > On Mon, Nov 27, 2017 at 04:46:32PM +0800, Chen-Yu Tsai wrote: >> The sun4i DRM driver maintains a list of compatible strings it uses to >> check if a device node within the display component graph is a TCON. >> The TCON driver also ha

Re: [PATCH] drm/sun4i: use sun4i_tcon_of_table to check if a device node is a TCON

2017-11-28 Thread Maxime Ripard
Hi, On Mon, Nov 27, 2017 at 04:46:32PM +0800, Chen-Yu Tsai wrote: > The sun4i DRM driver maintains a list of compatible strings it uses to > check if a device node within the display component graph is a TCON. > The TCON driver also has this list, used to bind the TCON driver to > the device. Thes

[PATCH] drm/sun4i: use sun4i_tcon_of_table to check if a device node is a TCON

2017-11-27 Thread Chen-Yu Tsai
The sun4i DRM driver maintains a list of compatible strings it uses to check if a device node within the display component graph is a TCON. The TCON driver also has this list, used to bind the TCON driver to the device. These two lists are identical. Instead of maintaining two identical lists, exp