linux_dsm_epyc7002/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 Kconfig: replace "--- help ---" with "---help---" 2012-05-07 15:01:22 +02:00
Makefile [PATCH] better CONFIG_W1_SLAVE_DS2433_CRC handling 2006-12-07 08:39:43 -08:00
w1_family.c drivers/w1: Add export.h for EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:32:00 -04:00
w1_family.h w1: add attribute groups to struct w1_family_ops 2013-08-22 11:05:42 -07:00
w1_int.c w1: process w1 netlink commands in w1_process thread 2014-02-07 15:40:17 -08:00
w1_int.h MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
w1_io.c w1: Disable irqs during 1-wire bus operations, extend 1-wire reset pulse 2012-04-11 16:44:10 -07:00
w1_log.h MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
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