[PATCH master 2/3] restart: fix restart_handler_get_by_name documentation
Ahmad Fatoum
a.fatoum at pengutronix.de
Tue Aug 22 00:47:37 PDT 2023
restart_handler_get_by_name() does what its name suggests, so reflect
that in the documentation comment.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
common/restart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/restart.c b/common/restart.c
index 0294b36eccca..35cfb542519d 100644
--- a/common/restart.c
+++ b/common/restart.c
@@ -74,7 +74,7 @@ int restart_handler_register_fn(const char *name,
}
/**
- * restart_handler_get_by_name() - reset the whole system
+ * restart_handler_get_by_name() - get highest priority `name'
*/
struct restart_handler *restart_handler_get_by_name(const char *name, int flags)
{
--
2.39.2
More information about the barebox
mailing list