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)
commit8a0cecffeb52363a57257bbbbd58f4c4537a75bb
treeee7f754d49a2f2ad75b72ec59e90e6fa2c0753eb
parent926b663ce8215ba448960e1ff6e58b67a2c3b99b
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