gpiolib: add a common prefix to GPIO descriptor flags
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 9 Sep 2025 12:28:43 +0000 (14:28 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 12 Sep 2025 07:20:38 +0000 (09:20 +0200)
commit571c65bb2f4d17198189cf8d161b96f32674642b
treeea048cfffca0f3f5302bec0d81967a07e3c2ffdd
parent7eee64e8be51f9ff0393b5bd0752a6e8f9252bf9
gpiolib: add a common prefix to GPIO descriptor flags

While these flags are private within drivers/gpio/, when looking at the
code, it's not really clear they are GPIO-specific. Since these are GPIO
descriptor flags, prepend their names with a common "GPIOD" prefix.

While at it: update the flags' docs: make spelling consistent, correct
outdated information, etc.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250909-rename-gpio-flags-v1-1-bda208a40856@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib-cdev.c
drivers/gpio/gpiolib-of.c
drivers/gpio/gpiolib-sysfs.c
drivers/gpio/gpiolib.c
drivers/gpio/gpiolib.h