Re: [REPOST PATCH 2/2] i2c: pxa: Use i2c-core to get bus number now

2013-01-14 Thread Doug Anderson
Sylwester, Thanks for the review... On Fri, Jan 11, 2013 at 2:12 PM, Sylwester Nawrocki wrote: >> - ret = of_alias_get_id(np, "i2c"); >> - if (ret< 0) { >> - dev_err(>dev, "failed to get alias id, errno %d\n", >> ret); >> - return ret; >> - } >> -

Re: [REPOST PATCH 2/2] i2c: pxa: Use i2c-core to get bus number now

2013-01-14 Thread Doug Anderson
Sylwester, Thanks for the review... On Fri, Jan 11, 2013 at 2:12 PM, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: - ret = of_alias_get_id(np, i2c); - if (ret 0) { - dev_err(pdev-dev, failed to get alias id, errno %d\n, ret); - return ret;

Re: [REPOST PATCH 2/2] i2c: pxa: Use i2c-core to get bus number now

2013-01-11 Thread Sylwester Nawrocki
Hi, On 01/11/2013 06:57 PM, Doug Anderson wrote: The commit: "i2c-core: dt: Pick i2c bus number from i2c alias if present" adds support for automatically picking the bus number based on the alias ID. Remove the now unnecessary code from i2c-pxa that did the same thing. Signed-off-by: Doug

[REPOST PATCH 2/2] i2c: pxa: Use i2c-core to get bus number now

2013-01-11 Thread Doug Anderson
The commit: "i2c-core: dt: Pick i2c bus number from i2c alias if present" adds support for automatically picking the bus number based on the alias ID. Remove the now unnecessary code from i2c-pxa that did the same thing. Signed-off-by: Doug Anderson Acked-by: Haojian Zhuang ---

[REPOST PATCH 2/2] i2c: pxa: Use i2c-core to get bus number now

2013-01-11 Thread Doug Anderson
The commit: i2c-core: dt: Pick i2c bus number from i2c alias if present adds support for automatically picking the bus number based on the alias ID. Remove the now unnecessary code from i2c-pxa that did the same thing. Signed-off-by: Doug Anderson diand...@chromium.org Acked-by: Haojian Zhuang

Re: [REPOST PATCH 2/2] i2c: pxa: Use i2c-core to get bus number now

2013-01-11 Thread Sylwester Nawrocki
Hi, On 01/11/2013 06:57 PM, Doug Anderson wrote: The commit: i2c-core: dt: Pick i2c bus number from i2c alias if present adds support for automatically picking the bus number based on the alias ID. Remove the now unnecessary code from i2c-pxa that did the same thing. Signed-off-by: Doug

Re: [PATCH 2/2] i2c: pxa: Use i2c-core to get bus number now

2012-12-04 Thread Haojian Zhuang
On Thu, Nov 22, 2012 at 2:26 AM, Doug Anderson wrote: > The commit: "i2c-core: dt: Pick i2c bus number from i2c alias if > present" adds support for automatically picking the bus number based > on the alias ID. Remove the now unnecessary code from i2c-pxa that > did the same thing. > >

Re: [PATCH 2/2] i2c: pxa: Use i2c-core to get bus number now

2012-12-04 Thread Haojian Zhuang
On Thu, Nov 22, 2012 at 2:26 AM, Doug Anderson diand...@chromium.org wrote: The commit: i2c-core: dt: Pick i2c bus number from i2c alias if present adds support for automatically picking the bus number based on the alias ID. Remove the now unnecessary code from i2c-pxa that did the same

[PATCH 2/2] i2c: pxa: Use i2c-core to get bus number now

2012-11-21 Thread Doug Anderson
The commit: "i2c-core: dt: Pick i2c bus number from i2c alias if present" adds support for automatically picking the bus number based on the alias ID. Remove the now unnecessary code from i2c-pxa that did the same thing. Signed-off-by: Doug Anderson --- drivers/i2c/busses/i2c-pxa.c |8

[PATCH 2/2] i2c: pxa: Use i2c-core to get bus number now

2012-11-21 Thread Doug Anderson
The commit: i2c-core: dt: Pick i2c bus number from i2c alias if present adds support for automatically picking the bus number based on the alias ID. Remove the now unnecessary code from i2c-pxa that did the same thing. Signed-off-by: Doug Anderson diand...@chromium.org ---