Skip to content

Commit b72540c

Browse files
eric miaoLinus Torvalds
authored andcommitted
deprecate obsolete pca9539 driver
Use drivers/gpio/pca9539.c instead. Signed-off-by: eric miao <eric.miao@marvell.com> Acked-by: Ben Gardner <bgardner@wabtec.com> Acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Haavard Skinnemoen <hskinnemoen@atmel.com> Cc: Philipp Zabel <philipp.zabel@gmail.com> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 9e60fdc commit b72540c

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

‎Documentation/i2c/chips/pca9539‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Kernel driver pca9539
22
=====================
33

4+
NOTE: this driver is deprecated and will be dropped soon, use
5+
drivers/gpio/pca9539.c instead.
6+
47
Supported chips:
58
* Philips PCA9539
69
Prefix: 'pca9539'

‎drivers/i2c/chips/Kconfig‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,18 @@ config PCF8575
5454
hardware. If unsure, say N.
5555

5656
config SENSORS_PCA9539
57-
tristate "Philips PCA9539 16-bit I/O port"
58-
depends on EXPERIMENTAL
57+
tristate "Philips PCA9539 16-bit I/O port (DEPRECATED)"
58+
depends on EXPERIMENTAL && GPIO_PCA9539 = "n"
5959
help
6060
If you say yes here you get support for the Philips PCA9539
6161
16-bit I/O port.
6262

6363
This driver can also be built as a module. If so, the module
6464
will be called pca9539.
6565

66+
This driver is deprecated and will be dropped soon. Use
67+
drivers/gpio/pca9539.c instead.
68+
6669
config SENSORS_PCF8591
6770
tristate "Philips PCF8591"
6871
depends on EXPERIMENTAL

0 commit comments

Comments
 (0)