w1: slaves: ds2781: Fix warning introduced by K35
authorGreg Meiste <w30289@motorola.com>
Tue, 29 Jun 2010 14:20:16 +0000 (09:20 -0500)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:13 +0000 (16:33 -0700)
commit309b3f2db1a095e351b9c8e51f482c1e3c261295
tree800f5cc2890239dd001b2b15a34f980d134c0511
parent16fecf17fbdcd82d64c85ad91640e256b89d3e9c
w1: slaves: ds2781: Fix warning introduced by K35

On K35, the bin_attribute structure was changed, causing a build
warning in the DS2781 w1 slave driver. Thsi patch fixes the warning
and the likely runtime error that would occur if something was
to try to read from the property.

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