mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
hwmon: (ltc4282): Fix reset_history file permissions
[ Upstream commitb3db91c3bf] The reset_history attributes are write only. Hence don't report them as readable just to return -EOPNOTSUPP later on. Fixes:cbc29538db("hwmon: Add driver for LTC4282") Signed-off-by: Nuno Sá <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20251219-ltc4282-fix-reset-history-v1-1-8eab974c124b@analog.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
b963636331
commit
e5718a35eb
1 changed files with 6 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue