Messages in this thread | | | Subject | Re: [PATCHv5 3/8] i2c: Match using traditional OF methods, then by vendor-less compatible strings | From | Javier Martinez Canillas <> | Date | Tue, 10 May 2016 00:58:57 -0400 |
| |
On 05/04/2016 11:14 AM, Kieran Bingham wrote: > From: Lee Jones <lee.jones@linaro.org> > > This function provides a single call for all I2C devices which need to > match firstly using traditional OF means i.e by of_node, then if that > fails we attempt to match using the supplied I2C client name with a > list of supplied compatible strings with the '<vendor>,' string > removed. The latter is required due to the unruly naming conventions > used currently by I2C devices. > > Acked-by: Grant Likely <grant.likely@linaro.org> > Signed-off-by: Lee Jones <lee.jones@linaro.org> > [Kieran: Fix static inline usage on !CONFIG_OF] > Signed-off-by: Kieran Bingham <kieran@bingham.xyz> > Tested-by: Kieran Bingham <kieran@bingham.xyz> > ---
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America
| |