From fe95046e960b4b76e73dc1486955d93f47276134 Mon Sep 17 00:00:00 2001
From: Linus Walleij <linus.walleij@linaro.org>
Date: Thu, 22 Oct 2015 09:58:34 +0200
Subject: [PATCH] gpio: ABI: mark the sysfs ABI as obsolete

This marks the (optional) sysfs GPIO ABI as obsolete and schedules
it for removal in 2020.

Cc: Johan Hovold <johan@kernel.org>
Cc: Michael Welling <mwelling@ieee.org>
Cc: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 Documentation/ABI/{testing => obsolete}/sysfs-gpio | 4 +++-
 MAINTAINERS                                        | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)
 rename Documentation/ABI/{testing => obsolete}/sysfs-gpio (88%)

diff --git a/Documentation/ABI/testing/sysfs-gpio b/Documentation/ABI/obsolete/sysfs-gpio
similarity index 88%
rename from Documentation/ABI/testing/sysfs-gpio
rename to Documentation/ABI/obsolete/sysfs-gpio
index 55ffa2df1c102..867c1fab20e24 100644
--- a/Documentation/ABI/testing/sysfs-gpio
+++ b/Documentation/ABI/obsolete/sysfs-gpio
@@ -1,7 +1,7 @@
 What:		/sys/class/gpio/
 Date:		July 2008
 KernelVersion:	2.6.27
-Contact:	David Brownell <dbrownell@users.sourceforge.net>
+Contact:	Linus Walleij <linusw@kernel.org>
 Description:
 
   As a Kconfig option, individual GPIO signals may be accessed from
@@ -26,3 +26,5 @@ Description:
 	    /label ... (r/o) descriptive, not necessarily unique
 	    /ngpio ... (r/o) number of GPIOs; numbered N to N + (ngpio - 1)
 
+  This ABI is deprecated and will be removed after 2020. It is
+  replaced with the GPIO character device.
diff --git a/MAINTAINERS b/MAINTAINERS
index a85cd6dcb5de5..7df638be28e29 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4816,6 +4816,7 @@ T:	git git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git
 S:	Maintained
 F:	Documentation/gpio/
 F:	Documentation/ABI/testing/gpio-cdev
+F:	Documentation/ABI/obsolete/sysfs-gpio
 F:	drivers/gpio/
 F:	include/linux/gpio/
 F:	include/linux/gpio.h
-- 
GitLab