]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drivers: thermal: processor_thermal: Downgrade error message
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Tue, 30 Apr 2019 03:42:13 +0000 (20:42 -0700)
committerZhang Rui <rui.zhang@intel.com>
Tue, 7 May 2019 13:53:43 +0000 (21:53 +0800)
Downgrade "Unsupported event" message from dev_err to dev_dbg. Otherwise it
floods with this message one some platforms.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c

index 2a7cbaa1712d3247a79a422911a194d4ac78eef9..2e6071a82da2748071971dd37e65a42ce48e54dd 100644 (file)
@@ -265,7 +265,7 @@ static void proc_thermal_notify(acpi_handle handle, u32 event, void *data)
                                THERMAL_DEVICE_POWER_CAPABILITY_CHANGED);
                break;
        default:
-               dev_err(proc_priv->dev, "Unsupported event [0x%x]\n", event);
+               dev_dbg(proc_priv->dev, "Unsupported event [0x%x]\n", event);
                break;
        }
 }