summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Connolly <caleb.connolly@linaro.org>2024-02-09 15:11:34 +0000
committerCaleb Connolly <caleb.connolly@linaro.org>2024-02-14 17:21:50 +0000
commit22f391e8be11986bae824509470cf11e7bac31b0 (patch)
tree0dd6b6bd79df48537ba6e4cde4c371dc634e773b
parent6b929e9f3c16bbddeffb85351e93db13eaa9b57d (diff)
downloadu-boot-22f391e8be11986bae824509470cf11e7bac31b0.tar.gz
u-boot-22f391e8be11986bae824509470cf11e7bac31b0.tar.bz2
u-boot-22f391e8be11986bae824509470cf11e7bac31b0.zip
button: qcom-pmic: demote "unknown button" message to debug
This message isn't an error (there can be a watchdog subnode for example) but it shouldn't be printed unless this driver is being debugged. Demote it to a debug print. Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
-rw-r--r--drivers/button/button-qcom-pmic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/button/button-qcom-pmic.c b/drivers/button/button-qcom-pmic.c
index e778e51a4f..bad445efa8 100644
--- a/drivers/button/button-qcom-pmic.c
+++ b/drivers/button/button-qcom-pmic.c
@@ -133,7 +133,7 @@ static int button_qcom_pmic_bind(struct udevice *parent)
} else if (NODE_IS_RESIN(node)) {
uc_plat->label = "vol_down";
} else {
- printf("Unknown button node '%s' should be 'pwrkey' or 'resin'\n",
+ debug("Unknown button node '%s' should be 'pwrkey' or 'resin'\n",
ofnode_get_name(node));
device_unbind(dev);
}