Skip to content

Commit

Permalink
gpio: remove some legacy comments in build files
Browse files Browse the repository at this point in the history
The build files for drivers/gpio has some wording and comments
about the directory being reserved exclusively for GPIO expanders
(according to the gpio.txt file these are on external busses) and
this has been false for some time. We already have PL061 and
Xilinx drivers which are in silicon and now I'm moving more
silicon drivers here, so delete this and reword it a bit.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
Linus Walleij authored and Grant Likely committed May 20, 2011
1 parent 3f397c2 commit e849dc0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 4 additions & 4 deletions drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# platform-neutral GPIO infrastructure and expanders
# GPIO infrastructure and drivers
#

config ARCH_WANT_OPTIONAL_GPIOLIB
Expand Down Expand Up @@ -31,7 +31,7 @@ menuconfig GPIOLIB
help
This enables GPIO support through the generic GPIO library.
You only need to enable this, if you also want to enable
one or more of the GPIO expansion card drivers below.
one or more of the GPIO drivers below.

If unsure, say N.

Expand Down Expand Up @@ -63,12 +63,12 @@ config GPIO_SYSFS
Kernel drivers may also request that a particular GPIO be
exported to userspace; this can be useful when debugging.

# put expanders in the right section, in alphabetical order
# put drivers in the right section, in alphabetical order

config GPIO_MAX730X
tristate

comment "Memory mapped GPIO expanders:"
comment "Memory mapped GPIO drivers:"

config GPIO_BASIC_MMIO
tristate "Basic memory-mapped GPIO controllers support"
Expand Down
6 changes: 1 addition & 5 deletions drivers/gpio/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# generic gpio support: dedicated expander chips, etc
#
# NOTE: platform-specific GPIO drivers don't belong in the
# drivers/gpio directory; put them with other platform setup
# code, IRQ controllers, board init, etc.
# generic gpio support: platform drivers, dedicated expander chips, etc

ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG

Expand Down

0 comments on commit e849dc0

Please sign in to comment.