]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
palmas: use palmas_i2c_[read|write]_u8
authorNishanth Menon <nm@ti.com>
Tue, 26 Mar 2013 05:20:57 +0000 (05:20 +0000)
committerTom Rini <trini@ti.com>
Fri, 10 May 2013 12:25:55 +0000 (08:25 -0400)
commitff2d57ea5e9b56e22c84647b9532292e5ea862f9
tree18d368d8389c487dbf17f3e4ea70cc0e1c1f44ae
parent384bcae013c78e020e9a04df4c7cc3b451a68811
palmas: use palmas_i2c_[read|write]_u8

commit 21144298 (power: twl6035: add palmas PMIC support)
introduced twl6035_i2c_[read|write]_u8
Then, commit dd23e59d (omap5: pbias ldo9 turn on)
introduced palmas_[read|write]_u8 for precisely the same access
function. TWL6035 belongs to the palmas family, so instead of having
an twl6035 API, we could use an generic palmas API instead.

To stay consistent with the function naming of twl4030,6030 accessors,
we use palmas_i2c_[read|write]_u8

Cc: Balaji T K <balajitk@ti.com>
Cc: Sricharan R <r.sricharan@ti.com>
Reported-by: Ruchika Kharwar <ruchika@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
drivers/power/palmas.c
include/palmas.h