w1: slaves: ds2781: Return error when reset fails
authorGreg Meiste <w30289@motorola.com>
Mon, 1 Nov 2010 16:27:24 +0000 (11:27 -0500)
committerRebecca Schultz Zavin <rebecca@android.com>
Mon, 1 Nov 2010 21:35:21 +0000 (14:35 -0700)
commit1ecdf0cb429c29b9c89205ab2a36a96450b4fe67
treeb724fa8a2df889c43564a7061000a1359cd56f93
parentf6c9e764b56f1a7f986bb573d211398187dbf55a
w1: slaves: ds2781: Return error when reset fails

The DS2781 one wire driver was returning success, even though the reset
had failed.  This covered up the issue where the DS2781 battery driver
was not reporting up up-to-date information.

Change-Id: Ie0c775ab900ed44ce12e798d62484b145c81d244
Signed-off-by: Greg Meiste <w30289@motorola.com>
drivers/w1/slaves/w1_ds2781.c