]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Revert "soc: qcom: smd: Use correct smem id"
authorNicolas Dechesne <nicolas.dechesne@linaro.org>
Thu, 21 Apr 2016 15:44:46 +0000 (17:44 +0200)
committerNicolas Dechesne <nicolas.dechesne@linaro.org>
Thu, 21 Apr 2016 15:45:37 +0000 (17:45 +0200)
This reverts commit 5b74aa858b6c582c47867e027c9b3a92006e79d6.

This is a (bad) left over from rebasing 9f459b0 onto 4.4.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
drivers/soc/qcom/smd.c

index d6fd59d451b90e8e5b781f52af35c12f2885431c..1ef645a785404bf5d1829816b7ac03dd66865c2b 100644 (file)
@@ -1300,11 +1300,7 @@ static int qcom_smd_parse_edge(struct device *dev,
 
        edge->remote_pid = QCOM_SMEM_HOST_ANY;
        key = "qcom,remote-pid";
-       ret = of_property_read_u32(node, key, &edge->remote_pid);
-       if (ret) {
-               dev_err(dev, "edge missing %s property\n", key);
-               return -EINVAL;
-       }
+       of_property_read_u32(node, key, &edge->remote_pid);
 
        syscon_np = of_parse_phandle(node, "qcom,ipc", 0);
        if (!syscon_np) {