]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: pxa: remove dead code
authorDaniel Mack <zonque@gmail.com>
Thu, 11 Jul 2013 15:17:53 +0000 (17:17 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 21 Jul 2013 16:14:20 +0000 (18:14 +0200)
commit66bd189d358e666b714e99d388906773f767e393
treee8355ce9ed1f3b9299768f7249d281eb9c8a9d74
parent1e28655d9a0b7666e029a0a2d992acbc7e70b63d
gpio: pxa: remove dead code

Commit bee6f2965 ("ARM: mmp: add more compatible names in gpio driver")
changed the driver logic to determine the number of available GPIOs from
the compatible string, and hence obsoleted the (undocumented) child
nodes that were previously necessary. However, it left some remainder
which can be safely removed now.

Also, this patch makes pxa_gpio_probe_dt() return the correct value in
case irq_alloc_descs() fails.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Cc: Haojian Zhuang <haojian.zhuang@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pxa.c