Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cs5535: deprecate older cs5535_gpio driver

The newer drivers/gpio/cs5535-gpio.c replaces drivers/misc/cs5535_gpio.c.
The new driver has been in the tree for a little while, and has received
some testing; it's time to mark the old one as deprecated. I'm thinking
removal around 2.6.40 would be good, provided we're not missing critical
functionality in the newer driver.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Cc: Daniel Drake <dsd@laptop.org>
Acked-by: Ben Gardner <bgardner@wabtec.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Andres Salomon and committed by
Linus Torvalds
cf8e9086 7637c925

+35 -10
+14
Documentation/feature-removal-schedule.txt
··· 193 193 194 194 --------------------------- 195 195 196 + What: CS5535/CS5536 obsolete GPIO driver 197 + When: June 2011 198 + Files: drivers/staging/cs5535_gpio/* 199 + Check: drivers/staging/cs5535_gpio/cs5535_gpio.c 200 + Why: A newer driver replaces this; it is drivers/gpio/cs5535-gpio.c, and 201 + integrates with the Linux GPIO subsystem. The old driver has been 202 + moved to staging, and will be removed altogether around 2.6.40. 203 + Please test the new driver, and ensure that the functionality you 204 + need and any bugfixes from the old driver are available in the new 205 + one. 206 + Who: Andres Salomon <dilinger@queued.net> 207 + 208 + -------------------------- 209 + 196 210 What: remove EXPORT_SYMBOL(kernel_thread) 197 211 When: August 2006 198 212 Files: arch/*/kernel/*_ksyms.c
-9
drivers/char/Kconfig
··· 1047 1047 pc8736x_gpio drivers. If those drivers are built as 1048 1048 modules, this one will be too, named nsc_gpio 1049 1049 1050 - config CS5535_GPIO 1051 - tristate "AMD CS5535/CS5536 GPIO (Geode Companion Device)" 1052 - depends on X86_32 1053 - help 1054 - Give userspace access to the GPIO pins on the AMD CS5535 and 1055 - CS5536 Geode companion devices. 1056 - 1057 - If compiled as a module, it will be called cs5535_gpio. 1058 - 1059 1050 config RAW_DRIVER 1060 1051 tristate "RAW driver (/dev/raw/rawN)" 1061 1052 depends on BLOCK
-1
drivers/char/Makefile
··· 82 82 obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o 83 83 obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o 84 84 obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o 85 - obj-$(CONFIG_CS5535_GPIO) += cs5535_gpio.o 86 85 obj-$(CONFIG_GPIO_TB0219) += tb0219.o 87 86 obj-$(CONFIG_TELCLOCK) += tlclk.o 88 87
drivers/char/cs5535_gpio.c drivers/staging/cs5535_gpio/cs5535_gpio.c
+2
drivers/staging/Kconfig
··· 123 123 124 124 source "drivers/staging/iio/Kconfig" 125 125 126 + source "drivers/staging/cs5535_gpio/Kconfig" 127 + 126 128 source "drivers/staging/zram/Kconfig" 127 129 128 130 source "drivers/staging/wlags49_h2/Kconfig"
+1
drivers/staging/Makefile
··· 44 44 obj-$(CONFIG_MRST_RAR_HANDLER) += memrar/ 45 45 obj-$(CONFIG_DX_SEP) += sep/ 46 46 obj-$(CONFIG_IIO) += iio/ 47 + obj-$(CONFIG_CS5535_GPIO) += cs5535_gpio/ 47 48 obj-$(CONFIG_ZRAM) += zram/ 48 49 obj-$(CONFIG_WLAGS49_H2) += wlags49_h2/ 49 50 obj-$(CONFIG_WLAGS49_H25) += wlags49_h25/
+11
drivers/staging/cs5535_gpio/Kconfig
··· 1 + config CS5535_GPIO 2 + tristate "AMD CS5535/CS5536 GPIO (Geode Companion Device)" 3 + depends on X86_32 4 + help 5 + Note: this driver is DEPRECATED. Please use the cs5535-gpio module 6 + in the GPIO section instead (CONFIG_GPIO_CS5535). 7 + 8 + Give userspace access to the GPIO pins on the AMD CS5535 and 9 + CS5536 Geode companion devices. 10 + 11 + If compiled as a module, it will be called cs5535_gpio.
+1
drivers/staging/cs5535_gpio/Makefile
··· 1 + obj-$(CONFIG_CS5535_GPIO) += cs5535_gpio.o
+6
drivers/staging/cs5535_gpio/TODO
··· 1 + This is an obsolete driver for some the CS5535 and CS5536 southbridge GPIOs. 2 + It has been replaced by a driver that makes use of the Linux GPIO subsystem. 3 + Please switch to that driver, and let dilinger@queued.net know if there's 4 + anything missing from the new driver. 5 + 6 + This driver is scheduled for removal in 2.6.40.