]> git.karo-electronics.de Git - karo-tx-linux.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)
commit5dbb7c637f5adadc02c912fb5fc709ec1d342000
treee8355ce9ed1f3b9299768f7249d281eb9c8a9d74
parent640efa08cb635ae43d5ceae302b20c2c3f2035e5
gpio: pxa: remove dead code

Commit f87311743 ("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