tmp_suning_uos_patched/drivers/w1
David Fries eb2c0da4ac w1: use family_data instead of rom in w1_slave
The first line printed from w1_slave gives the context of the w1
device.  So does the second line, but if the CRC check failed, the
second line contains the last successful result.  It is confusing when
it prints the temperature next to the line that might be a previous
conversion and has nothing to do with that printed temperature value.
Modify the code to store the last good conversion in family_data,
which is designed for custom data structures.

Signed-off-by: David Fries <David@Fries.net>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-07 15:40:18 -08:00
..
masters w1: ds2490 fix and enable hardware search 2014-02-07 15:40:18 -08:00
slaves w1: use family_data instead of rom in w1_slave 2014-02-07 15:40:18 -08:00
Kconfig
Makefile
w1_family.c
w1_family.h
w1_int.c w1: process w1 netlink commands in w1_process thread 2014-02-07 15:40:17 -08:00
w1_int.h
w1_io.c
w1_log.h
w1_netlink.c w1: reply only to the requester portid 2014-02-07 15:40:17 -08:00
w1_netlink.h w1: new netlink commands, add/remove/list slaves 2014-02-07 15:40:17 -08:00
w1.c w1: process w1 netlink commands in w1_process thread 2014-02-07 15:40:17 -08:00
w1.h w1: use family_data instead of rom in w1_slave 2014-02-07 15:40:18 -08:00