Re: [PATCH 03/10] Staging: fbtft: Use a struct to describe each LCD controller

2015-07-23 Thread Noralf Trønnes
Den 30.06.2015 08:43, skrev Fabio Falzoi: Use a struct flexfb_lcd_controller to holds chip properties, instead of relying on a long 'if - else if' chain. This allows to: - use a simple linear search to verify if a certain LCD controller model is supported or not. - add support for a new LCD chip

Re: [PATCH 03/10] Staging: fbtft: Use a struct to describe each LCD controller

2015-07-14 Thread Greg KH
On Tue, Jun 30, 2015 at 08:43:10AM +0200, Fabio Falzoi wrote: > Use a struct flexfb_lcd_controller to holds chip properties, instead of > relying on a long 'if - else if' chain. > This allows to: > - use a simple linear search to verify if a certain LCD controller > model is supported or not. > - a

[PATCH 03/10] Staging: fbtft: Use a struct to describe each LCD controller

2015-06-29 Thread Fabio Falzoi
Use a struct flexfb_lcd_controller to holds chip properties, instead of relying on a long 'if - else if' chain. This allows to: - use a simple linear search to verify if a certain LCD controller model is supported or not. - add support for a new LCD chip controller simply defining a new flexfb_lcd_