gpio/omap: remove useless gpio_valid() & check_gpio() checks
authorKevin Hilman <khilman@ti.com>
Fri, 22 Apr 2011 15:15:46 +0000 (08:15 -0700)
committerKevin Hilman <khilman@ti.com>
Thu, 16 Jun 2011 18:14:00 +0000 (11:14 -0700)
commit7a6f8416e22a6d9f4708847bb2d88f0719b0f49e
treeccc425c0e8d30ce03866073a16f9655c17cabcad
parentf8b46b58348f151e45274c93ebe51467cf10e2f2
gpio/omap: remove useless gpio_valid() & check_gpio() checks

These functions are useless.  They are only called in a few places,
and where they are called, the GPIO has already been converted from an
IRQ or masked, so these functions will never fail.

Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/gpio/gpio-omap.c