gpio: Rename variable in core APIs
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 29 Mar 2020 14:04:05 +0000 (16:04 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 31 Mar 2020 19:29:04 +0000 (21:29 +0200)
commita0b66a73785ccc8fedbff00383ffe814df9f63c7
treea2fdf8a0e0f9080580114f24a99abf063f30f584
parent89ad556b7f96af54ae6762f561f0a09269265741
gpio: Rename variable in core APIs

There is struct gpio *gc, *chip and *gpiochip, and yes
I am responsible for some of the inconsistencies. I want
this to be just gc everywhere for minimizing cognitive
resistance when reading the code: more compact function
signatures and less clutter.

Purely syntactic changes intended. No semantic effects.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20200329140405.52276-1-linus.walleij@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c
include/linux/gpio/driver.h