Re: [PATCH v5 01/12] drivers: base: Unified device connection lookup

2018-03-01 Thread Hans de Goede
Hi, On 01-03-18 10:32, Andy Shevchenko wrote: On Thu, Mar 1, 2018 at 9:28 AM, Heikki Krogerus wrote: Hi, On Thu, Mar 01, 2018 at 12:56:57AM +, Jun Li wrote: +struct device *device_find_connection(struct device *dev, const char +*con_id) { + return

Re: [PATCH v5 01/12] drivers: base: Unified device connection lookup

2018-03-01 Thread Hans de Goede
Hi, On 01-03-18 10:32, Andy Shevchenko wrote: On Thu, Mar 1, 2018 at 9:28 AM, Heikki Krogerus wrote: Hi, On Thu, Mar 01, 2018 at 12:56:57AM +, Jun Li wrote: +struct device *device_find_connection(struct device *dev, const char +*con_id) { + return __device_find_connection(dev, con_id,

Re: [PATCH v5 01/12] drivers: base: Unified device connection lookup

2018-03-01 Thread Andy Shevchenko
On Thu, Mar 1, 2018 at 9:28 AM, Heikki Krogerus wrote: > Hi, > > On Thu, Mar 01, 2018 at 12:56:57AM +, Jun Li wrote: >> > +struct device *device_find_connection(struct device *dev, const char >> > +*con_id) { >> > + return __device_find_connection(dev,

Re: [PATCH v5 01/12] drivers: base: Unified device connection lookup

2018-03-01 Thread Andy Shevchenko
On Thu, Mar 1, 2018 at 9:28 AM, Heikki Krogerus wrote: > Hi, > > On Thu, Mar 01, 2018 at 12:56:57AM +, Jun Li wrote: >> > +struct device *device_find_connection(struct device *dev, const char >> > +*con_id) { >> > + return __device_find_connection(dev, con_id, generic_match, NULL); } >> >>

Re: [PATCH v5 01/12] drivers: base: Unified device connection lookup

2018-02-28 Thread Heikki Krogerus
Hi, On Thu, Mar 01, 2018 at 12:56:57AM +, Jun Li wrote: > > +struct device *device_find_connection(struct device *dev, const char > > +*con_id) { > > + return __device_find_connection(dev, con_id, generic_match, NULL); } > > - return __device_find_connection(dev, con_id,

Re: [PATCH v5 01/12] drivers: base: Unified device connection lookup

2018-02-28 Thread Heikki Krogerus
Hi, On Thu, Mar 01, 2018 at 12:56:57AM +, Jun Li wrote: > > +struct device *device_find_connection(struct device *dev, const char > > +*con_id) { > > + return __device_find_connection(dev, con_id, generic_match, NULL); } > > - return __device_find_connection(dev, con_id,

RE: [PATCH v5 01/12] drivers: base: Unified device connection lookup

2018-02-28 Thread Jun Li
Hi, > -Original Message- > +struct device *device_find_connection(struct device *dev, const char > +*con_id) { > + return __device_find_connection(dev, con_id, generic_match, NULL); } - return __device_find_connection(dev, con_id, generic_match, NULL); + return

RE: [PATCH v5 01/12] drivers: base: Unified device connection lookup

2018-02-28 Thread Jun Li
Hi, > -Original Message- > +struct device *device_find_connection(struct device *dev, const char > +*con_id) { > + return __device_find_connection(dev, con_id, generic_match, NULL); } - return __device_find_connection(dev, con_id, generic_match, NULL); + return