From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH master 2/3] restart: fix restart_handler_get_by_name documentation
Date: Tue, 22 Aug 2023 09:47:37 +0200 [thread overview]
Message-ID: <20230822074738.3905283-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20230822074738.3905283-1-a.fatoum@pengutronix.de>
restart_handler_get_by_name() does what its name suggests, so reflect
that in the documentation comment.
Signed-off-by: Ahmad Fatoum <a.fatoum@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
next prev parent reply other threads:[~2023-08-22 7:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-22 7:47 [PATCH master 1/3] param: drop priv from dev_add_param_string_ro Ahmad Fatoum
2023-08-22 7:47 ` Ahmad Fatoum [this message]
2023-08-22 7:47 ` [PATCH master 3/3] boards: qemu-virt: apply state/env overlay only if flash exists Ahmad Fatoum
2023-08-22 14:28 ` [PATCH master 1/3] param: drop priv from dev_add_param_string_ro Sascha Hauer
2023-08-22 16:36 ` Ahmad Fatoum
2023-08-23 5:50 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230822074738.3905283-2-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox