Merge tag 'backlight-for-linus-4.9' of git://git.kernel.org/pub/scm/linux/kernel...
[cascardo/linux.git] / drivers / hwmon / ibmpowernv.c
index 55b5a8f..6d2e660 100644 (file)
@@ -143,13 +143,11 @@ static void __init make_sensor_label(struct device_node *np,
                if (cpuid >= 0)
                        /*
                         * The digital thermal sensors are associated
-                        * with a core. Let's print out the range of
-                        * cpu ids corresponding to the hardware
-                        * threads of the core.
+                        * with a core.
                         */
                        n += snprintf(sdata->label + n,
-                                     sizeof(sdata->label) - n, " %d-%d",
-                                     cpuid, cpuid + threads_per_core - 1);
+                                     sizeof(sdata->label) - n, " %d",
+                                     cpuid);
                else
                        n += snprintf(sdata->label + n,
                                      sizeof(sdata->label) - n, " phy%d", id);