Skip to contentSkip to conversation

gpio: fix struct gpio_chip comment

PATCH Linus Walleij 1 participant 1 message Oct 6, 2016 1 message not in the archive GPIO

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Please include the mailing list linux-gpio (CC) on patches.

Quoted 12 lines · Anthony Best

It should have been @reg_clr instead of @reg_clk

---
 include/linux/gpio/driver.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/gpio/driver.h +0 -0
index 1f0be72..d799c7f 100644

include/linux/gpio/driver.h enum single_ended_mode { · line 98

Quoted 8 lines
include/linux/gpio/driver.h +1 -1
@@ -92,7 +92,7 @@ enum single_ended_mode {
  *     bit. This callback assigns the right bit mask.
  * @reg_dat: data (in) register for generic GPIO
  * @reg_set: output set register (out=high) for generic GPIO
- * @reg_clk: output clear register (out=low) for generic GPIO
+ * @reg_clr: output clear register (out=low) for generic GPIO
  * @reg_dir: direction setting register for generic GPIO
  * @bgpio_bits: number of register bits used for a generic GPIO i.e.
  *     <register width> * 8

Patch applied.

Yours,
Linus Walleij