[GIT PULL] w1: drivers for v6.5

From: Krzysztof Kozlowski
Date: Thu Jun 01 2023 - 13:12:27 EST


Hi Greg,

My first W1-bus drivers pull. I collected current and ~1.5 year old patches
from the list.

The git tag for pull is signed with my usual key which you can get
from kernel.org pgp keys repo: keys/1B93437D3B41629B.asc

Best regards,
Krzysztof


The following changes since commit ac9a78681b921877518763ba0e89202254349d1b:

Linux 6.4-rc1 (2023-05-07 13:34:35 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-w1.git tags/w1-drv-6.5

for you to fetch changes up to b332af5398a3aa1a2fdd69bb6968a8f866cc39aa:

w1: Replace usage of found with dedicated list iterator variable (2023-05-13 21:15:02 +0200)

----------------------------------------------------------------
1-Wire bus drivers for v6.5

1. Several older cleanups and minor improvements like dropping redundant
match function, fixing indentation and typos, simplifying sysfs
attribute show, removing redundant variable initializations, using max()
instead of open-coding it and constifying pointer to
struct hwmon_channel_info.

2. w1_therm: fix inverted lock handling causing spurious temperature
reads.

3. sgi: Use strscpy() over strlcpy().

4. w1 bus fixes:
- Correct missing OF node reference put in error path.
- Correct iterating over master device list while removing items from
it.
- Don't use loop iterator past the loop.

----------------------------------------------------------------
Colin Ian King (2):
w1: remove redundant initialization to variable result
w1: ds2438: remove redundant initialization of variable crc

Dan Carpenter (1):
w1: fix loop in w1_fini()

Haowen Bai (1):
w1: w1_therm: Use max() instead of doing it manually

Jakob Koschel (1):
w1: Replace usage of found with dedicated list iterator variable

Jason Wang (1):
w1: no need to initialise statics to 0

Julia Lawall (1):
w1: w1_therm: fix typo in comment

Krzysztof Kozlowski (2):
w1: Fix Kconfig indentation
w1: therm: constify pointers to hwmon_channel_info

Liang He (1):
w1: Add missing of_node_put() in w1.c

Lizhe (1):
w1: Remove driver match function

Stefan Wahren (1):
w1: w1_therm: fix locking behavior in convert_t

Wolfram Sang (1):
w1: sgi: move from strlcpy with unused retval to strscpy

zuoqilin (1):
w1: Simplify the atribute show

drivers/w1/masters/sgi_w1.c | 2 +-
drivers/w1/slaves/Kconfig | 4 ++--
drivers/w1/slaves/w1_ds2438.c | 2 --
drivers/w1/slaves/w1_therm.c | 37 +++++++++++++----------------
drivers/w1/w1.c | 55 +++++++++++++++++--------------------------
5 files changed, 42 insertions(+), 58 deletions(-)