Re: [PATCH v2] serial: of-serial: Remove device_type = "serial" registration

2015-04-16 Thread Arnd Bergmann
On Tuesday 14 April 2015 12:03:09 Michal Simek wrote: > Do not probe all serial drivers by of_serial.c which are using > device_type = "serial"; property. Only drivers which have valid > compatible strings listed in the driver should be probed. > > When PORT_UNKNOWN is setup probe will fail

Re: [PATCH v2] serial: of-serial: Remove device_type = "serial" registration

2015-04-16 Thread Michal Simek
On 04/15/2015 01:08 PM, Peter Hurley wrote: > On 04/14/2015 06:03 AM, Michal Simek wrote: >> Do not probe all serial drivers by of_serial.c which are using >> device_type = "serial"; property. Only drivers which have valid >> compatible strings listed in the driver should be probed. >> >> When

Re: [PATCH v2] serial: of-serial: Remove device_type = serial registration

2015-04-16 Thread Michal Simek
On 04/15/2015 01:08 PM, Peter Hurley wrote: On 04/14/2015 06:03 AM, Michal Simek wrote: Do not probe all serial drivers by of_serial.c which are using device_type = serial; property. Only drivers which have valid compatible strings listed in the driver should be probed. When PORT_UNKNOWN is

Re: [PATCH v2] serial: of-serial: Remove device_type = serial registration

2015-04-16 Thread Arnd Bergmann
On Tuesday 14 April 2015 12:03:09 Michal Simek wrote: Do not probe all serial drivers by of_serial.c which are using device_type = serial; property. Only drivers which have valid compatible strings listed in the driver should be probed. When PORT_UNKNOWN is setup probe will fail anyway.

Re: [PATCH v2] serial: of-serial: Remove device_type = "serial" registration

2015-04-15 Thread Peter Hurley
On 04/14/2015 06:03 AM, Michal Simek wrote: > Do not probe all serial drivers by of_serial.c which are using > device_type = "serial"; property. Only drivers which have valid > compatible strings listed in the driver should be probed. > > When PORT_UNKNOWN is setup probe will fail anyway. > >

Re: [PATCH v2] serial: of-serial: Remove device_type = serial registration

2015-04-15 Thread Peter Hurley
On 04/14/2015 06:03 AM, Michal Simek wrote: Do not probe all serial drivers by of_serial.c which are using device_type = serial; property. Only drivers which have valid compatible strings listed in the driver should be probed. When PORT_UNKNOWN is setup probe will fail anyway. Arnd

[PATCH v2] serial: of-serial: Remove device_type = "serial" registration

2015-04-14 Thread Michal Simek
Do not probe all serial drivers by of_serial.c which are using device_type = "serial"; property. Only drivers which have valid compatible strings listed in the driver should be probed. When PORT_UNKNOWN is setup probe will fail anyway. Arnd quotation about driver historical background: "when I

[PATCH v2] serial: of-serial: Remove device_type = serial registration

2015-04-14 Thread Michal Simek
Do not probe all serial drivers by of_serial.c which are using device_type = serial; property. Only drivers which have valid compatible strings listed in the driver should be probed. When PORT_UNKNOWN is setup probe will fail anyway. Arnd quotation about driver historical background: when I