Messages in this thread | | | Date | Sat, 13 Apr 2013 00:05:03 +0200 | Subject | Re: [PATCH 3/4] gpio: Kontron PLD gpio driver | From | Linus Walleij <> |
| |
On Fri, Apr 12, 2013 at 1:09 PM, Michael Brunner <mibru@gmx.de> wrote:
>> (...) >> > +struct kempld_gpio_data { >> > + struct gpio_chip chip; >> > + int irq; >> > + struct kempld_device_data *pld; >> > + uint16_t mask; >> >> Just u16? > > The specification allows 16 GPIOs for this device, therefore this seems > to be the right size. Would it be better to use another type instead?
Ah, I was just asking you to use "u16" instead of "uint16_t".
Yours, Linus Walleij
| |