[PATCH 06/10] input: touchscreen: edt-ft5x06: fix driver autoprobing

2014-11-18 Thread Felipe Balbi
i2c devices match against struct i2c_device_id even for CONFIG_OF case, so adding a struct of_device_id doesn't change anything. As a result, currently, edt-ft5x06 will not autoprobe if built as a module. To fix the issue and still maintain backwards compatibility with all DTS files currently in

Re: [PATCH 06/10] input: touchscreen: edt-ft5x06: fix driver autoprobing

2014-11-18 Thread Dmitry Torokhov
Hi Felipe, On Tue, Nov 18, 2014 at 12:07:04PM -0600, Felipe Balbi wrote: i2c devices match against struct i2c_device_id even for CONFIG_OF case, so adding a struct of_device_id doesn't change anything. As a result, currently, edt-ft5x06 will not autoprobe if built as a module. Why doe snot

Re: [PATCH 06/10] input: touchscreen: edt-ft5x06: fix driver autoprobing

2014-11-18 Thread Felipe Balbi
On Tue, Nov 18, 2014 at 10:38:47AM -0800, Dmitry Torokhov wrote: Hi Felipe, On Tue, Nov 18, 2014 at 12:07:04PM -0600, Felipe Balbi wrote: i2c devices match against struct i2c_device_id even for CONFIG_OF case, so adding a struct of_device_id doesn't change anything. As a result,

Re: [PATCH 06/10] input: touchscreen: edt-ft5x06: fix driver autoprobing

2014-11-18 Thread Felipe Balbi
Hi, On Tue, Nov 18, 2014 at 01:09:22PM -0600, Felipe Balbi wrote: On Tue, Nov 18, 2014 at 10:38:47AM -0800, Dmitry Torokhov wrote: Hi Felipe, On Tue, Nov 18, 2014 at 12:07:04PM -0600, Felipe Balbi wrote: i2c devices match against struct i2c_device_id even for CONFIG_OF case, so