[PATCH] drivers: power: reset: at91-reset: Provide reset reason via sysfs (amended with Signed-off-by tag)

From
David Mosberger <hidden>
Date
2016-01-25 16:17:55
Reply to
Alexandre Belloni, 2016-01-25
Alexandre,

Thanks for taking a look at the patch.

On Mon, Jan 25, 2016 at 1:55 AM, Alexandre Belloni
[off-list ref] wrote:
All sysfs files have to be documented. Can you add some documentation in
Documentation/ABI ?
I'm not familiar with out this is organized and what file this would
have to be added to.  Other than that, sure I'd be happy to write
something up.
Also, I think this should be added as a generic file for the whole subsystem.
A patch that shows what you have in mind would be helpful here.
quoted
-     pr_info("AT91: Starting after %s\n", reason);
You must have missed:
quoted
+     pr_info("AT91: Starting after %s\n", at91_reset_reason(pdev));
Best regards,

  --david
-- 
eGauge Systems LLC, http://egauge.net/, 1.877-EGAUGE1, fax 720.545.9768
Thread (5 messages) 5 messages, 3 authors, last reply 2016-02-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help