summaryrefslogtreecommitdiffstats
path: root/drivers/soc/qcom/smsm.c
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2016-06-09 21:11:22 -0700
committerAndy Gross <andy.gross@linaro.org>2016-06-24 22:53:41 -0500
commit3680a4a97435496ad22cd0fc9f2ba51751cc4e36 (patch)
tree9f29fe57bd4fe8dbf717fd6ecee563d69bc597f3 /drivers/soc/qcom/smsm.c
parente7306dd751d9ec58143feb09dd58b92efac72531 (diff)
downloadlinux-stable-3680a4a97435496ad22cd0fc9f2ba51751cc4e36.tar.gz
linux-stable-3680a4a97435496ad22cd0fc9f2ba51751cc4e36.tar.bz2
linux-stable-3680a4a97435496ad22cd0fc9f2ba51751cc4e36.zip
soc: qcom: Update properties for smem state referencing
Update the property names to match device tree bindings, the correct values should be qcom,smem-states and qcom,smem-state-names. Also update the #qcom,smem-state-cells for consistency, before we merge any users of these properties. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'drivers/soc/qcom/smsm.c')
-rw-r--r--drivers/soc/qcom/smsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/qcom/smsm.c b/drivers/soc/qcom/smsm.c
index 6b777af1bc19..d0337b2a71c8 100644
--- a/drivers/soc/qcom/smsm.c
+++ b/drivers/soc/qcom/smsm.c
@@ -495,7 +495,7 @@ static int qcom_smsm_probe(struct platform_device *pdev)
if (!smsm->hosts)
return -ENOMEM;
- local_node = of_find_node_with_property(pdev->dev.of_node, "#qcom,state-cells");
+ local_node = of_find_node_with_property(pdev->dev.of_node, "#qcom,smem-state-cells");
if (!local_node) {
dev_err(&pdev->dev, "no state entry\n");
return -EINVAL;