diff options
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/ibmpowernv.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/hwmon/ibmpowernv.c b/drivers/hwmon/ibmpowernv.c index 55b5a8ff1cfe..6d2e6605751c 100644 --- a/drivers/hwmon/ibmpowernv.c +++ b/drivers/hwmon/ibmpowernv.c | |||
@@ -143,13 +143,11 @@ static void __init make_sensor_label(struct device_node *np, | |||
143 | if (cpuid >= 0) | 143 | if (cpuid >= 0) |
144 | /* | 144 | /* |
145 | * The digital thermal sensors are associated | 145 | * The digital thermal sensors are associated |
146 | * with a core. Let's print out the range of | 146 | * with a core. |
147 | * cpu ids corresponding to the hardware | ||
148 | * threads of the core. | ||
149 | */ | 147 | */ |
150 | n += snprintf(sdata->label + n, | 148 | n += snprintf(sdata->label + n, |
151 | sizeof(sdata->label) - n, " %d-%d", | 149 | sizeof(sdata->label) - n, " %d", |
152 | cpuid, cpuid + threads_per_core - 1); | 150 | cpuid); |
153 | else | 151 | else |
154 | n += snprintf(sdata->label + n, | 152 | n += snprintf(sdata->label + n, |
155 | sizeof(sdata->label) - n, " phy%d", id); | 153 | sizeof(sdata->label) - n, " phy%d", id); |