lp8727_charger: Change i2c functions
authorKim, Milo <Milo.Kim@ti.com>
Fri, 27 Jan 2012 06:58:39 +0000 (22:58 -0800)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Mon, 26 Mar 2012 16:40:55 +0000 (20:40 +0400)
commit27aefa3b7d8b1c37e0bc21cbd0ce3c93bdf163ca
tree78fb84a4cb9c092632ffc99ce34185c55ba1b4d5
parent7da6334e73fe3c0579d8c6a56001336a430a5d99
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>
drivers/power/lp8727_charger.c