On Wed, Apr 23, 2014 at 4:00 PM, Axel Lin <axel.lin@xxxxxxxxxx> wrote: > 2014-04-23 21:25 GMT+08:00 Linus Walleij <linus.walleij@xxxxxxxxxx>: >> -#define RDC321X_MAX_GPIO 58 >> +#define RDC321X_MAX_GPIO 59 > Hi Linus, > > I'm wondering if it is better to define RDC321X_NUM_GPIO (59) rather > than RDC321X_MAX_GPIO. > How do you think? I think yes. It's not a maximum really is it? It's the number available, they just mean the max enumerator you can use :-P Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html