From: Daniel Mack Date: Thu, 11 Jul 2013 15:17:53 +0000 (+0200) Subject: gpio: pxa: remove dead code X-Git-Tag: v3.12-rc1~111^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dbb7c637f5adadc02c912fb5fc709ec1d342000;p=pandora-kernel.git 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 Cc: Haojian Zhuang Cc: Linus Walleij Cc: Arnd Bergmann Signed-off-by: Linus Walleij --- Reading git-diff-tree failed