misc: pmic: use I2C_SET_BUS in pmic I2C
authorStefano Babic <sbabic@denx.de>
Tue, 11 Oct 2011 17:18:05 +0000 (19:18 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 27 Oct 2011 19:56:31 +0000 (21:56 +0200)
commitd69edadee7035a5607451a3ee014f4e649e8cf92
treee7cc5adaf5bdcd0bb34cdea8b037dc7e0a0bc214
parent9c38f7dfeb3543a35a250fff744d5039badb941b
misc: pmic: use I2C_SET_BUS in pmic I2C

Instead of using directly the i2c_set_bus() function,
the I2C_SET_BUS macro must be used to avoid build
errors for targets without multibus I2C.

Signed-off-by: Stefano Babic <sbabic@denx.de>
drivers/misc/pmic_i2c.c