[U-Boot] [PATCH V2 05/13] i2c: Create common default i2c_set_bus_num() function

Tabi Timur-B04825
2011-10-10T17:53:48Z

On Mon, Oct 10, 2011 at 4:35 AM, Stefano Babic <sbabic@denx.de> wrote:
> New default, weak i2c_set_bus_num() function.
>
> Signed-off-by: Stefano Babic <sbabic@denx.de>
> Cc: Heiko Schocher <hs@denx.de>

I would prefer to see a new set of I2C functions that take a bus
number as a parameter, so that we can eliminate i2c_set_bus_num() (and
the global variable it modifies) altogether.

--
Timur Tabi
Linux kernel developer at Freescale