gpio/omap: check return value from irq_alloc_generic_chip
authorTodd Poynor <toddpoynor@google.com>
Mon, 18 Jul 2011 14:43:14 +0000 (07:43 -0700)
committerKevin Hilman <khilman@ti.com>
Tue, 23 Aug 2011 17:53:00 +0000 (10:53 -0700)
commit832337490f22987a1b739ba840e105c0c9af01bc
treea893d220f2d568a0628c77c04d1b9c9899474f87
parentece9528e5f88cee11303fceefe39382f1030cd4e
gpio/omap: check return value from irq_alloc_generic_chip

Ensure return value of irq_alloc_generic_chip() is checked before continuing
on to use it.

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