]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: gpio_{request,free}() now required (feature removal)
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 2 Apr 2009 23:57:06 +0000 (16:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:04:51 +0000 (19:04 -0700)
commit97c08e532cbe12555bce948d55ccc2a270a4aa42
treeee7f754d49a2f2ad75b72ec59e90e6fa2c0753eb
parent1f6709984736c5d5de748db5918416da65ee0d4c
gpio: gpio_{request,free}() now required (feature removal)

We want to phase out the GPIO "autorequest" mechanism in gpiolib and
require all callers to use gpio_request().

 - Update feature-removal-schedule
 - Update the documentation now
 - Convert the relevant pr_warning() in gpiolib to a WARN()
   so folk using this mechanism get a noisy stack dump

Some drivers and board init code will probably need to change.
Implementations not using gpiolib will still be fine; they are already
required to implement gpio_{request,free}() stubs.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/feature-removal-schedule.txt
Documentation/gpio.txt
drivers/gpio/gpiolib.c