summaryrefslogtreecommitdiff
path: root/drivers/staging/hikey9xx/hisi-spmi-controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/hikey9xx/hisi-spmi-controller.c')
-rw-r--r--drivers/staging/hikey9xx/hisi-spmi-controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hikey9xx/hisi-spmi-controller.c b/drivers/staging/hikey9xx/hisi-spmi-controller.c
index 0d42bc65f39b..5bd23262abd6 100644
--- a/drivers/staging/hikey9xx/hisi-spmi-controller.c
+++ b/drivers/staging/hikey9xx/hisi-spmi-controller.c
@@ -290,7 +290,7 @@ static int spmi_controller_probe(struct platform_device *pdev)
goto err_put_controller;
}
- ret = of_property_read_u32(pdev->dev.of_node, "spmi-channel",
+ ret = of_property_read_u32(pdev->dev.of_node, "hisilicon,spmi-channel",
&spmi_controller->channel);
if (ret) {
dev_err(&pdev->dev, "can not get channel\n");