diff options
author | Nishanth Menon | 2013-03-26 05:20:51 +0000 |
---|---|---|
committer | Tom Rini | 2013-05-10 08:25:54 -0400 |
commit | 345ef20465f7b2628b6f6e93b4f2e1d7280f7b7d (patch) | |
tree | 2ea3dc792b0c2225e1423e45ab6cbd408cb0b7b5 /include/twl6030.h | |
parent | b29c2f0c142fdb8ef50deae1cc7c4338952fba6c (diff) |
twl6030: twl6030_i2c_[read|write]_u8 prototype consistent
u-boot standard i2c register access prototype is
i2c_read(addr, reg, 1, &buf, 1)
i2c_reg_write(u8 addr, u8 reg, u8 val)
twl6030_i2c_read_u8(u8 addr, u8 *val, u8 reg)
twl6030_i2c_write_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:
twl6030_i2c_read_u8(u8 addr, u8 reg, u8 *val)
twl6030_i2c_write_u8(u8 addr, u8 reg, u8 val)
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'include/twl6030.h')
0 files changed, 0 insertions, 0 deletions