Copied i2c handling functions from microp_ng.c. The i2c_read function was really...
authorTor Berg <torbrg@gmail.com>
Mon, 8 Apr 2013 22:00:23 +0000 (00:00 +0200)
committerTor Berg <torbrg@gmail.com>
Mon, 8 Apr 2013 22:00:23 +0000 (00:00 +0200)
commitb88c40ed83e2ebe84f956042ec50f2ea81e7323d
tree381b67d5f6ae1428ff0c687fa2a85bcb8239a335
parent9592a55e3d63d35536a6e995b98c58d071cc26f2
Copied i2c handling functions from microp_ng.c. The i2c_read function was really bad, with splitting of read and write. New one has retries and uses i2c_transfer instead.
drivers/power/ds2746_battery.c