diff options
author | Michael Neuling <mikey@neuling.org> | 2016-09-13 15:47:41 +1000 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-09-13 07:27:05 -0700 |
commit | acf32964de8e8f02839796f1fe512b50a192e141 (patch) | |
tree | 7a0f311b160e5aaab0ce28179ce693081f6eabee /drivers/hwmon/Kconfig | |
parent | 93cacfd41f82eea00b420d62e29a493ca3d07b74 (diff) | |
download | op-kernel-dev-acf32964de8e8f02839796f1fe512b50a192e141.zip op-kernel-dev-acf32964de8e8f02839796f1fe512b50a192e141.tar.gz |
hwmon: (ibmpowernv) Fix label for cores numbers not threads
Currently the label says "Core" but lists the thread numbers. This
ends up looking like this:
# cat /sys/class/hwmon/hwmon0/temp[1-4]_label
Core 0-7
Core 8-15
Core 16-23
Core 24-31
This is misleading as it looks like it's cores 0-7 when it's actually
threads 0-7.
This changes the print to just give the core number, so the output now
looks like this:
# cat /sys/class/hwmon/hwmon0/temp[1-4]_label
Core 0
Core 8
Core 16
Core 24
Signed-off-by: Michael Neuling <mikey@neuling.org>
Acked-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/Kconfig')
0 files changed, 0 insertions, 0 deletions