atmel_usba_udc: Kill GPIO_PIN_NONE
authorStelian Pop <stelian@popies.net>
Wed, 5 Mar 2008 21:20:36 +0000 (22:20 +0100)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Sun, 6 Apr 2008 21:15:07 +0000 (17:15 -0400)
commit8d12c32c19a2719f6a96a23e94d95699c47e55d0
tree318143358eb9138f8ec8e419a4b07b5d61c7319a
parent7a242471af4d15c2637025f0acd352c0a92a4cc4
atmel_usba_udc: Kill GPIO_PIN_NONE

GPIO_PIN_NONE should no longer be used. Replace it with a simple
test against negative values.

This is a transitional patch, waiting for gpio_is_valid() to be
merged at which point the tests should be revisited.

Signed-off-by: Stelian Pop <stelian@popies.net>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
drivers/usb/gadget/atmel_usba_udc.c