From: UgwuRhema <hikarialiyev@gmail.com>
To: johan@kernel.org
Cc: UgwuRhema <hikarialiyev@gmail.com>,
Rui Miguel Silva <rmfrfs@gmail.com>,
Alex Elder <elder@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: [PATCH] staging: greybus: gpio: add comment describing irq_lock mutex
Date: Mon, 21 Sep 2026 12:28:43 +0000 [thread overview]
Message-ID: <20260921122844.42816-1-hikarialiyev@gmail.com> (raw)
Add a description comment for irq_lock to clarify what the mutex
protects and satisfy checkpatch checks.
Signed-off-by: UgwuRhema <hikarialiyev@gmail.com>
---
drivers/staging/greybus/gpio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/greybus/gpio.c b/drivers/staging/greybus/gpio.c
index 12185f7a9..7f19b3275 100644
--- a/drivers/staging/greybus/gpio.c
+++ b/drivers/staging/greybus/gpio.c
@@ -39,7 +39,7 @@ struct gb_gpio_controller {
struct gpio_chip chip;
struct irq_chip irqc;
- struct mutex irq_lock;
+ struct mutex irq_lock; /* protects IRQ configuration and hardware state */
};
static struct gpio_chip *irq_data_to_gpio_chip(struct irq_data *d)
--
2.55.0
next reply other threads:[~2026-09-21 12:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 12:28 UgwuRhema [this message]
2026-09-21 13:25 ` Dan Carpenter
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=20260921122844.42816-1-hikarialiyev@gmail.com \
--to=hikarialiyev@gmail.com \
--cc=elder@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=greybus-dev@lists.linaro.org \
--cc=johan@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=rmfrfs@gmail.com \
/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®