Commit b72540c30c9c8c2c3f17cae29962cfb50fbe166a

Authored by eric miao
Committed by Linus Torvalds
1 parent 9e60fdcf0c

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>

Showing 2 changed files with 8 additions and 2 deletions Side-by-side Diff

Documentation/i2c/chips/pca9539
1 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 7 Supported chips:
5 8 * Philips PCA9539
6 9 Prefix: 'pca9539'
drivers/i2c/chips/Kconfig
... ... @@ -54,14 +54,17 @@
54 54 hardware. If unsure, say N.
55 55  
56 56 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"
59 59 help
60 60 If you say yes here you get support for the Philips PCA9539
61 61 16-bit I/O port.
62 62  
63 63 This driver can also be built as a module. If so, the module
64 64 will be called pca9539.
  65 +
  66 + This driver is deprecated and will be dropped soon. Use
  67 + drivers/gpio/pca9539.c instead.
65 68  
66 69 config SENSORS_PCF8591
67 70 tristate "Philips PCF8591"