Skip to content
Commit d1f4eda1 authored by Tony O'Brien's avatar Tony O'Brien Committed by Greg Kroah-Hartman
Browse files

hwmon: (adt7475) Display smoothing attributes in correct order

[ Upstream commit 5f8d1e3b ]

Throughout the ADT7475 driver, attributes relating to the temperature
sensors are displayed in the order Remote 1, Local, Remote 2.  Make
temp_st_show() conform to this expectation so that values set by
temp_st_store() can be displayed using the correct attribute.

Fixes: 8f05bcc3

 ("hwmon: (adt7475) temperature smoothing")
Signed-off-by: default avatarTony O'Brien <tony.obrien@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20230222005228.158661-2-tony.obrien@alliedtelesis.co.nz
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 93c8cbeb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment