platform/x86:intel/pmc: Replace dev_warn() with dev_dbg()
Subsystems (2)
Xi Pardee
maintainerPATCH 1/1 platform/x86:intel/pmc: Replace dev_warn() with dev_dbg()
Replace dev_warn() with dev_dbg() to reduce unnecessary warning messages. When the low power mode priority register contains invalid data, the Intel PMC Core driver can still utilize the default priority list. This scenario is more suited for debug information rather than warning.
--- drivers/platform/x86/intel/pmc/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/intel/pmc/core.c +1 -1
@@ -1244,7 +1244,7 @@ void pmc_core_get_low_power_modes(struct pmc_dev *pmcdev)for (mode =0 ; mode <LPM_MAX_NUM_MODES ; mode++) pri_order[mode_order[mode]] = mode; else - dev_warn(&pmcdev->pdev->dev, + dev_dbg(&pmcdev->pdev->dev, "Assuming a default substate order for this platform\n");/*
Signature · 1 line
2.43.0
Ilpo Järvinen
maintainerQuoted 6 lines · Xi Pardee
Replace
dev_warn()withdev_dbg()to reduce unnecessary warning messages. When the low power mode priority register contains invalid data, the Intel PMC Core driver can still utilize the default priority list. This scenario is more suited for debug information rather than warning.
Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86:intel/pmc: Replace dev_warn() with dev_dbg()
commit: bf726cdc9d4fabcf1ebd50f6fce5121acc7447bb
--
i.