summaryrefslogtreecommitdiff
path: root/drivers/button/button-qcom-pmic.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-08-13 08:57:49 -0600
committerTom Rini <trini@konsulko.com>2025-08-13 08:57:49 -0600
commit869217ee2907595919261b6d4ae81fd76a8ddd81 (patch)
tree1a15a318c23de3b3a98b75abc44d471085e0e1ac /drivers/button/button-qcom-pmic.c
parent8385793c4c1249d6fff1c87434b412983f6b3f53 (diff)
parentd9fbc1d70bc9d5e7665c9fc1ed71d25e04faba54 (diff)
Merge tag 'qcom-fixes-13Aug2025' of https://source.denx.de/u-boot/custodians/u-boot-snapdragon
CI: https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/pipelines/27364 Quite a few Smatch issues reported by Andrew, and the LMB allocation fix.
Diffstat (limited to 'drivers/button/button-qcom-pmic.c')
-rw-r--r--drivers/button/button-qcom-pmic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/button/button-qcom-pmic.c b/drivers/button/button-qcom-pmic.c
index 85addfe32a2..b823490d6d5 100644
--- a/drivers/button/button-qcom-pmic.c
+++ b/drivers/button/button-qcom-pmic.c
@@ -195,8 +195,9 @@ static int button_qcom_pmic_bind(struct udevice *parent)
continue;
}
+ label = ofnode_get_name(node);
ret = device_bind_driver_to_node(parent, "qcom_pwrkey",
- ofnode_get_name(node),
+ label,
node, &dev);
if (ret) {
printf("Failed to bind %s! %d\n", label, ret);