Skip to content
Commit 4018e0a9 authored by Frank Crawford's avatar Frank Crawford Committed by Guenter Roeck
Browse files

hwmon: (it87) Split temperature sensor detection to separate function



The temperature sensor type will need to be used in multiple places, so
split it out into its own function.

Signed-off-by: default avatarFrank Crawford <frank@crawford.emu.id.au>
Link: https://lore.kernel.org/r/20230707123005.956415-2-frank@crawford.emu.id.au


[groeck: Dropped unnecessary 'type' variable in show_temp_type()]
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 49ffb5ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment