diff options
author | eric miao <eric.miao@marvell.com> | 2008-02-05 01:28:27 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 12:44:13 -0500 |
commit | b72540c30c9c8c2c3f17cae29962cfb50fbe166a (patch) | |
tree | 093950cda7bcbe33253894cdfdf942465cc2dde6 | |
parent | 9e60fdcf0c2905d7a8fc4cb2b3711ea5c5acaae1 (diff) |
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>
-rw-r--r-- | Documentation/i2c/chips/pca9539 | 3 | ||||
-rw-r--r-- | drivers/i2c/chips/Kconfig | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/Documentation/i2c/chips/pca9539 b/Documentation/i2c/chips/pca9539 index c4fce6a13537..1d81c530c4a5 100644 --- a/Documentation/i2c/chips/pca9539 +++ b/Documentation/i2c/chips/pca9539 | |||
@@ -1,6 +1,9 @@ | |||
1 | Kernel driver pca9539 | 1 | Kernel driver pca9539 |
2 | ===================== | 2 | ===================== |
3 | 3 | ||
4 | NOTE: this driver is deprecated and will be dropped soon, use | ||
5 | drivers/gpio/pca9539.c instead. | ||
6 | |||
4 | Supported chips: | 7 | Supported chips: |
5 | * Philips PCA9539 | 8 | * Philips PCA9539 |
6 | Prefix: 'pca9539' | 9 | Prefix: 'pca9539' |
diff --git a/drivers/i2c/chips/Kconfig b/drivers/i2c/chips/Kconfig index bd7082c2443d..b21593f93586 100644 --- a/drivers/i2c/chips/Kconfig +++ b/drivers/i2c/chips/Kconfig | |||
@@ -54,8 +54,8 @@ config PCF8575 | |||
54 | hardware. If unsure, say N. | 54 | hardware. If unsure, say N. |
55 | 55 | ||
56 | config SENSORS_PCA9539 | 56 | config SENSORS_PCA9539 |
57 | tristate "Philips PCA9539 16-bit I/O port" | 57 | tristate "Philips PCA9539 16-bit I/O port (DEPRECATED)" |
58 | depends on EXPERIMENTAL | 58 | depends on EXPERIMENTAL && GPIO_PCA9539 = "n" |
59 | help | 59 | help |
60 | If you say yes here you get support for the Philips PCA9539 | 60 | If you say yes here you get support for the Philips PCA9539 |
61 | 16-bit I/O port. | 61 | 16-bit I/O port. |
@@ -63,6 +63,9 @@ config SENSORS_PCA9539 | |||
63 | This driver can also be built as a module. If so, the module | 63 | This driver can also be built as a module. If so, the module |
64 | will be called pca9539. | 64 | will be called pca9539. |
65 | 65 | ||
66 | This driver is deprecated and will be dropped soon. Use | ||
67 | drivers/gpio/pca9539.c instead. | ||
68 | |||
66 | config SENSORS_PCF8591 | 69 | config SENSORS_PCF8591 |
67 | tristate "Philips PCF8591" | 70 | tristate "Philips PCF8591" |
68 | depends on EXPERIMENTAL | 71 | depends on EXPERIMENTAL |