Skip to content
Snippets Groups Projects
Commit b29c2f0c authored by Nishanth Menon's avatar Nishanth Menon Committed by Tom Rini
Browse files

twl4030: make twl4030_i2c_read_u8 prototype consistent


u-boot standard i2c read prototype is
i2c_read(addr, reg, 1, &buf, 1)

twl4030_i2c_read_u8(u8 addr, u8 *val, u8 reg)
does not provide consistency, so switch the prototype to be
consistent with rest of u-boot i2c operations:
twl4030_i2c_read_u8(u8 addr, u8 reg, u8 *val)

Signed-off-by: default avatarNishanth Menon <nm@ti.com>
parent 0208aaf6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment