WSL2-Linux-Kernel/drivers/w1/slaves
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
..
Kconfig w1: ds2408: make value read-back check a Kconfig option 2013-03-15 12:15:02 -07:00
Makefile w1: add support for DS2413 Dual Channel Addressable Switch 2013-02-27 19:10:23 -08:00
w1_bq27000.c drivers/w1/slaves/w1_bq27000.c: fix the error handling in w1_bq27000_add_slave() 2013-04-30 17:04:08 -07:00
w1_ds28e04.c w1: slaves: w1_ds28e04: convert to use w1_family_ops.groups 2013-08-22 11:05:43 -07:00
w1_ds2408.c w1: slaves: w1_ds2408: convert to use w1_family_ops.groups 2013-08-22 11:05:42 -07:00
w1_ds2413.c w1: slaves: w1_ds2413.c: convert to use w1_family_ops.groups 2013-08-22 11:05:43 -07:00
w1_ds2423.c w1: slaves: w1_ds2423: convert to use w1_family_ops.groups 2013-08-22 11:05:43 -07:00
w1_ds2431.c w1: slaves: w1_ds2431: convert to use w1_family_ops.groups 2013-08-22 11:05:43 -07:00
w1_ds2433.c w1: slaves: w1_ds2433: convert to use w1_family_ops.groups 2013-08-22 11:05:43 -07:00
w1_ds2760.c w1: slaves: w1_ds2760: convert to use w1_family_ops.groups 2013-08-22 11:05:44 -07:00
w1_ds2760.h w1: ds2760_battery: add support for sleep mode feature 2009-06-08 23:25:17 +04:00
w1_ds2780.c w1: slaves: w1_ds2780: convert to use w1_family_ops.groups 2013-08-22 11:05:43 -07:00
w1_ds2780.h W1: split master mutex to avoid deadlocks. 2012-06-13 16:38:40 -07:00
w1_ds2781.c w1: slaves: w1_ds2781: convert to use w1_family_ops.groups 2013-08-22 11:05:44 -07:00
w1_ds2781.h W1: split master mutex to avoid deadlocks. 2012-06-13 16:38:40 -07:00
w1_smem.c w1: add family based automatic module loading 2013-06-03 14:09:14 -07:00
w1_therm.c w1: use family_data instead of rom in w1_slave 2014-02-07 15:40:18 -08:00