From: Vincent Whitchurch <vincent.whitchurch@axis.com>
To: <jic23@kernel.org>, Peter Rosin <peda@axentia.se>
Cc: <kernel@axis.com>, <linux-iio@vger.kernel.org>,
Vincent Whitchurch <vincent.whitchurch@axis.com>,
kernel test robot <lkp@intel.com>, <linux-kernel@vger.kernel.org>
Subject: [PATCH] mux: fix kernel doc prototype
Date: Tue, 19 Oct 2021 08:45:21 +0200 [thread overview]
Message-ID: <20211019064521.18113-1-vincent.whitchurch@axis.com> (raw)
Fix this warning from scripts/kernel-doc:
drivers/mux/core.c:391: warning: expecting prototype for
mux_control_try_select(). Prototype was for
mux_control_try_select_delay() instead
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
---
drivers/mux/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mux/core.c b/drivers/mux/core.c
index dee6945e92f7..22f4709768d1 100644
--- a/drivers/mux/core.c
+++ b/drivers/mux/core.c
@@ -371,7 +371,7 @@ int mux_control_select_delay(struct mux_control *mux, unsigned int state,
EXPORT_SYMBOL_GPL(mux_control_select_delay);
/**
- * mux_control_try_select() - Try to select the given multiplexer state.
+ * mux_control_try_select_delay() - Try to select the given multiplexer state.
* @mux: The mux-control to request a change of state from.
* @state: The new requested state.
* @delay_us: The time to delay (in microseconds) if the mux state is changed.
--
2.28.0
next reply other threads:[~2021-10-19 6:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-19 6:45 Vincent Whitchurch [this message]
2021-10-19 7:17 ` Peter Rosin
2021-10-20 20:27 ` Jonathan Cameron
2021-10-20 20:49 ` Peter Rosin
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=20211019064521.18113-1-vincent.whitchurch@axis.com \
--to=vincent.whitchurch@axis.com \
--cc=jic23@kernel.org \
--cc=kernel@axis.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=peda@axentia.se \
/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
all inboxes | Powered by JetHome®