bq20z75: Add i2c retry mechanism
authorRhyland Klein <rklein@nvidia.com>
Tue, 1 Mar 2011 00:55:29 +0000 (16:55 -0800)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Tue, 1 Mar 2011 19:24:19 +0000 (22:24 +0300)
commitff28fcef1bedcfbdf49500fee1573dc2f3eedb22
treec9aa6c77a3c79b997114717ccb7f4e7604b8a9fc
parentbb879101606dd7235d8f4ecd0f707b63281d0838
bq20z75: Add i2c retry mechanism

With the support of platform data, now adding support for option i2c
retries on read/write failures. Ths is specified through the optional
platform data.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/bq20z75.c
include/linux/power/bq20z75.h