commit | 56a075dcd64b25c828af1752dff0ac1e6833e135 | [log] [tgz] |
---|---|---|
author | Philipp Zabel <philipp.zabel@gmail.com> | Wed Jul 01 03:42:45 2009 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Sun Jul 12 15:16:37 2009 -0700 |
tree | 0a69daccc1bf31fd1b1838dfdbeca2884581d1a2 | |
parent | 30899ca7f20571c4bd64544dec261171f6ec255b [diff] |
USB: gadget: pxa25x uses gpio_is_valid Use gpio_is_valid instead of assuming that every GPIO number != 0 is valid while 0 is not. Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Acked-by: Eric Miao <eric.y.miao@gmail.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>