Thread (25 messages) 25 messages, 5 authors, 2013-01-31
STALE4881d

[PATCH 04/10] gpio: pxa: use platform data for gpio inverted

From: Linus Walleij <hidden>
Date: 2013-01-25 09:59:49

On Wed, Jan 23, 2013 at 9:25 AM, Haojian Zhuang
[off-list ref] wrote:
Avoid to judge whether gpio is inverted by identifying cpu in gpio
driver. Move this into platform data of gpio driver.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
(...)
quoted hunk ↗ jump to hunk
+++ b/drivers/gpio/gpio-pxa.c
@@ -71,6 +71,7 @@ struct pxa_gpio_chip {
        struct gpio_chip chip;
        void __iomem    *regbase;
        unsigned int    irq_base;
+       unsigned int    inverted;
        char label[10];
I would use bool for this.

(No big deal, but if you want to nitpick..)

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help