OpenCloudOS-Kernel/drivers/w1/slaves
Ivan Zaentsev 439e8f6f1e w1: w1_therm: Rename conflicting sysfs attribute 'eeprom' to 'eeprom_cmd'
Duplicate attribute 'eeprom' is defined in:
1) Documentation/ABI/testing/sysfs-driver-w1_therm
2) Documentation/ABI/stable/sysfs-driver-w1_ds28e04

Both drivers define an attribute: /sys/bus/w1/devices/.../eeprom
with conflicting behavior.

Fix by renaming the newer one in w1_therm.c to 'eeprom_cmd'.

Reported-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/lkml/20201029152845.6bbb39ce@coco.lan/
Signed-off-by: Ivan Zaentsev <ivan.zaentsev@wirenboard.ru>
Link: https://lore.kernel.org/r/20201112064931.8471-1-ivan.zaentsev@wirenboard.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-12 08:50:13 +01:00
..
Kconfig w1: new driver. DS2430 chip 2019-11-14 13:06:33 +08:00
Makefile w1: new driver. DS2430 chip 2019-11-14 13:06:33 +08:00
w1_ds28e04.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds28e17.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds250x.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2405.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2406.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2408.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2413.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2423.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2430.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2431.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2433.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2438.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2780.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2780.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
w1_ds2781.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2781.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
w1_ds2805.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_smem.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 94 2019-05-24 17:37:53 +02:00
w1_therm.c w1: w1_therm: Rename conflicting sysfs attribute 'eeprom' to 'eeprom_cmd' 2020-11-12 08:50:13 +01:00