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;

[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