Skip to content

Commit

Permalink
Fixed comments to align more appropriately with the number of defined…
Browse files Browse the repository at this point in the history
… gpio. (#6)
  • Loading branch information
luckshot authored Sep 19, 2022
1 parent d7666e0 commit 442412b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpio/gpio-ts7800-v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
};
Expand Down

0 comments on commit 442412b

Please sign in to comment.