commit | 27aefa3b7d8b1c37e0bc21cbd0ce3c93bdf163ca | [log] [tgz] |
---|---|---|
author | Kim, Milo <Milo.Kim@ti.com> | Thu Jan 26 22:58:39 2012 -0800 |
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | Mon Mar 26 20:40:55 2012 +0400 |
tree | 78fb84a4cb9c092632ffc99ce34185c55ba1b4d5 | |
parent | 7da6334e73fe3c0579d8c6a56001336a430a5d99 [diff] |
lp8727_charger: Change i2c functions On writing single byte via i2c, use i2c_smbus_write_byte_data() rather than i2c_smbus_write_i2c_block_data(). Name changes : lp8727_i2c_read() -> lp8727_read_bytes() lp8727_i2c_write() -> removed lp8727_i2c_read_byte() -> lp8727_read_byte() lp8727_i2c_write_byte() -> lp8727_write_byte() Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>