From 442412b6e0b03d2ee88a256ff4ad6b0a9ace06d5 Mon Sep 17 00:00:00 2001 From: Michael D Peters Date: Mon, 19 Sep 2022 12:11:57 -0700 Subject: [PATCH] Fixed comments to align more appropriately with the number of defined gpio. (#6) --- drivers/gpio/gpio-ts7800-v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-ts7800-v2.c b/drivers/gpio/gpio-ts7800-v2.c index cfefdfeb9cbf..7f0d8c83d823 100644 --- a/drivers/gpio/gpio-ts7800-v2.c +++ b/drivers/gpio/gpio-ts7800-v2.c @@ -27,7 +27,7 @@ struct ts7800v2_gpio_priv { void __iomem *syscon; struct gpio_chip gpio_chip; spinlock_t lock; - /* direction[4] is enough for all 118 DIOs (up to 128), 1=in, 0=out */ + /* direction[4] is enough for 128 DIOs, 1=in, 0=out */ unsigned int direction[4]; unsigned int ovalue[4]; };