[PATCH] staging: greybus: gpio: add comment describing irq_lock mutex

From: UgwuRhema

Date: Mon Sep 21 2026 - 08:57:41 EST


Add a description comment for irq_lock to clarify what the mutex
protects and satisfy checkpatch checks.

Signed-off-by: UgwuRhema <hikarialiyev@xxxxxxxxx>
---
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