gpiolib: legacy: Kill GPIOF_INIT_* definitions
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 28 Aug 2024 14:23:57 +0000 (17:23 +0300)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 2 Sep 2024 09:47:06 +0000 (11:47 +0200)
commit4b2b0a2ce8153d65d0829e45e73bf6acdc291344
tree12056525c924e01df58b29c01998a7c76ee0e61e
parent1882e769362b8e4ef68fd30a05295f5eedf5c54a
gpiolib: legacy: Kill GPIOF_INIT_* definitions

Besides the fact that (old) drivers use wrong definitions, e.g.,
GPIOF_INIT_HIGH instead of GPIOF_OUT_INIT_HIGH, shrink the legacy
definitions by killing those GPIOF_INIT_* completely.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Link: https://lore.kernel.org/r/20240828142554.2424189-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
arch/arm/mach-ep93xx/vision_ep9307.c
arch/mips/bcm63xx/boards/board_bcm963xx.c
drivers/gpio/gpiolib-legacy.c
include/linux/gpio.h