[PATCH 5.4 197/215] thermal: int3403_thermal: Downgrade error message

From: Greg Kroah-Hartman
Date: Mon Jul 20 2020 - 12:05:23 EST


From: Alex Hung <alex.hung@xxxxxxxxxxxxx>

commit f3d7fb38976b1b0a8462ba1c7cbd404ddfaad086 upstream.

Downgrade "Unsupported event" message from dev_err to dev_dbg to avoid
flooding with this message on some platforms.

Cc: stable@xxxxxxxxxxxxxxx # v5.4+
Suggested-by: Zhang Rui <rui.zhang@xxxxxxxxx>
Signed-off-by: Alex Hung <alex.hung@xxxxxxxxxxxxx>
[ rzhang: fix typo in changelog ]
Signed-off-by: Zhang Rui <rui.zhang@xxxxxxxxx>
Link: https://lore.kernel.org/r/20200615223957.183153-1-alex.hung@xxxxxxxxxxxxx
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
drivers/thermal/intel/int340x_thermal/int3403_thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
+++ b/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
@@ -74,7 +74,7 @@ static void int3403_notify(acpi_handle h
THERMAL_TRIP_CHANGED);
break;
default:
- dev_err(&priv->pdev->dev, "Unsupported event [0x%x]\n", event);
+ dev_dbg(&priv->pdev->dev, "Unsupported event [0x%x]\n", event);
break;
}
}