Skip to content

Change snvs rtc and poweroff to use syscon add pwrkey driver

Joshua Clayton linux-arm-kernel linux-devicetree linux-input linux-pm linux-rtc 1 version New

Get series with b4
b4 am 6111368.e0EOBSJsmZ@jclayton-pc

Versions newest first

  1. v2 Latest0 of 7 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 7 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] Change snvs rtc and poweroff to use syscon add pwrkey driver
Quoted 13 lines
(quoted diff) +11 -0
+       snvs_np = of_get_parent(pdev->dev.of_node);
+       if (!snvs_np)
+               return -ENODEV;
+
+       data->snvs = syscon_node_to_regmap(snvs_np);
+       of_node_put(snvs_np);
+
+       if (!data->snvs) {
+               pr_err("Can't snvs syscon\n");
+               return -ENODEV;
+       }
Quoted 2 lines

How about change error message to " Can't snvs syscon, probably use old dts file"?

How about simply: "Cannot find snvs syscon node in devicetree."

Signature · 1 line
~Joshua Clayton