Message ID | 20200514110222.3402-1-wenhu.wang@vivo.com |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show |
Series | drivers: ipa: fix typos for ipa_smp2p structure doc | expand |
From: Wang Wenhu <wenhu.wang@vivo.com> Date: Thu, 14 May 2020 04:02:22 -0700 > Remove the duplicate "mutex", and change "Motex" to "Mutex". Also I > recommend it's easier for understanding to make the "ready-interrupt" > a bundle for it is a parallel description as "shutdown" which is appended > after the slash. > > Signed-off-by: Wang Wenhu <wenhu.wang@vivo.com> > Cc: Alex Elder <elder@kernel.org> Applied, thanks.
On 5/14/20 3:07 PM, David Miller wrote: > From: Wang Wenhu <wenhu.wang@vivo.com> > Date: Thu, 14 May 2020 04:02:22 -0700 > >> Remove the duplicate "mutex", and change "Motex" to "Mutex". Also I >> recommend it's easier for understanding to make the "ready-interrupt" >> a bundle for it is a parallel description as "shutdown" which is appended >> after the slash. >> >> Signed-off-by: Wang Wenhu <wenhu.wang@vivo.com> >> Cc: Alex Elder <elder@kernel.org> > > Applied, thanks. Thank you. -Alex
diff --git a/drivers/net/ipa/ipa_smp2p.c b/drivers/net/ipa/ipa_smp2p.c index 4d33aa7ebfbb..a5f7a79a1923 100644 --- a/drivers/net/ipa/ipa_smp2p.c +++ b/drivers/net/ipa/ipa_smp2p.c @@ -53,7 +53,7 @@ * @clock_on: Whether IPA clock is on * @notified: Whether modem has been notified of clock state * @disabled: Whether setup ready interrupt handling is disabled - * @mutex mutex: Motex protecting ready interrupt/shutdown interlock + * @mutex: Mutex protecting ready-interrupt/shutdown interlock * @panic_notifier: Panic notifier structure */ struct ipa_smp2p {
Remove the duplicate "mutex", and change "Motex" to "Mutex". Also I recommend it's easier for understanding to make the "ready-interrupt" a bundle for it is a parallel description as "shutdown" which is appended after the slash. Signed-off-by: Wang Wenhu <wenhu.wang@vivo.com> Cc: Alex Elder <elder@kernel.org> --- drivers/net/ipa/ipa_smp2p.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)