]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf9b260b917075a4604909950c8b34484dde6151
treeccc425c0e8d30ce03866073a16f9655c17cabcad
parent11513d33bf057e49942b41ed60490728ba858d0b
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