Change snvs rtc and poweroff to use syscon add pwrkey driver
Get series with b4
b4 am 6111368.e0EOBSJsmZ@jclayton-pcVersions newest first
- 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.
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