summaryrefslogtreecommitdiff
path: root/include/sysreset.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-10-01 12:22:45 -0600
committerSimon Glass <sjg@chromium.org>2018-10-09 04:40:27 -0600
commiteb517315a67320e770cf4a100a922e8ae18fa54e (patch)
tree9719fdb41ca23453b55aeee7f01ee04b8b28e67e /include/sysreset.h
parent595aac98246bb26d128389e25b147ae9643afb26 (diff)
sysreset: Tidy up a few comments and logging
Some comments are incorrect or missing pieces. Fix these and use logging to print the error. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/sysreset.h')
-rw-r--r--include/sysreset.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sysreset.h b/include/sysreset.h
index a5c0b74a47..343e46f1aa 100644
--- a/include/sysreset.h
+++ b/include/sysreset.h
@@ -31,6 +31,7 @@ struct sysreset_ops {
/**
* get_status() - get printable reset status information
*
+ * @dev: Device to check
* @buf: Buffer to receive the textual reset information
* @size: Size of the passed buffer
* @return 0 if OK, -ve on error
@@ -49,8 +50,9 @@ struct sysreset_ops {
int sysreset_request(struct udevice *dev, enum sysreset_t type);
/**
- * get_status() - get printable reset status information
+ * sysreset_get_status() - get printable reset status information
*
+ * @dev: Device to check
* @buf: Buffer to receive the textual reset information
* @size: Size of the passed buffer
* @return 0 if OK, -ve on error