Commit bfd7ed90 authored by suma hegde's avatar suma hegde Committed by Pu Wen
Browse files

hwmon: (k10temp) Remove residues of current and voltage

mainline inclusion
from mainline-v5.15-rc4
commit 23c69b90
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7DX6V
CVE: NA

Reference: https://git.kernel.org/torvalds/c/23c69b90365c8280b627aa969393d828ff47ac14



---------------------------

commit 23c69b90 upstream.

Commit id "b00647c4",
adds reporting current and voltage to k10temp.c

The commit id "0a4e668b",
removed reporting current and voltage from k10temp.c

The curr and in(voltage) entries are not removed from
"k10temp_info" structure. Removing those residue entries.
while at it, update k10temp driver documentation

Signed-off-by: default avatarsuma hegde <suma.hegde@amd.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210902174155.7365-2-nchatrad@amd.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
[fix conflict during backport]
Signed-off-by: default avatarPu Wen <puwen@hygon.cn>
parent e6bf48d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment