]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
w1_therm: adding eeprom sysfs entry
authorAkira Shimahara <akira215corp@gmail.com>
Mon, 11 May 2020 20:37:25 +0000 (22:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 May 2020 14:28:59 +0000 (16:28 +0200)
commit45d457a4cf24455eefd076a01a3d86414fc2ff1e
tree8ad2ca133c103d15ee6c960c333bb22148fd6768
parent308bdb94de0c1abe7eac5193f58638b8aeaddf4b
w1_therm: adding eeprom sysfs entry

The driver implement 2 hardware functions to access device RAM:
 * copy_scratchpad
 * recall_scratchpad
They act according to device specifications.

As EEPROM operations are not device dependent (all w1_therm can perform
EEPROM read/write operation following the same protocol), it is removed
from device families structures.

Updating Documentation/ABI/testing/sysfs-driver-w1_therm accordingly.

Signed-off-by: Akira Shimahara <akira215corp@gmail.com>
Link: https://lore.kernel.org/r/20200511203725.410844-1-akira215corp@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-driver-w1_therm
drivers/w1/slaves/w1_therm.c