[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231104-no-y-uapi1-default-v1-1-f60d318b6fbe@linaro.org>
Date: Sat, 04 Nov 2023 23:54:40 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Bartosz Golaszewski <brgl@...ev.pl>,
Andy Shevchenko <andy@...nel.org>,
Kent Gibson <warthog618@...il.com>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
Linus Walleij <linus.walleij@...aro.org>
Subject: [PATCH] RFC: Do not enable the v1 uAPI by default
It's been two years since we introduced the v2 uAPI and
the major consumer libgpiod is at v2.1.
What about discouraging the old uAPI?
Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
---
drivers/gpio/Kconfig | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 913948876c93..65c9914ee3fa 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -85,7 +85,7 @@ config GPIO_CDEV
config GPIO_CDEV_V1
bool "Support GPIO ABI Version 1"
- default y
+ default n
depends on GPIO_CDEV
help
Say Y here to support version 1 of the GPIO CDEV ABI.
@@ -93,8 +93,6 @@ config GPIO_CDEV_V1
This ABI version is deprecated.
Please use the latest ABI for new developments.
- If unsure, say Y.
-
config GPIO_GENERIC
depends on HAS_IOMEM # Only for IOMEM drivers
tristate
---
base-commit: e392ea4d4d00880bf94550151b1ace4f88a4b17a
change-id: 20231103-no-y-uapi1-default-4204e86c04a3
Best regards,
--
Linus Walleij <linus.walleij@...aro.org>
Powered by blists - more mailing lists