mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user