On Thu, Nov 12, 2020 at 10:17 AM Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> wrote: > On Thu, Nov 12, 2020 at 12:19:57AM +0200, Andy Shevchenko wrote: ... > > +int gpio_set_debounce_timeout(struct gpio_desc *desc, unsigned int debounce) > Sorry for commenting this late but I realized we have > gpiod_set_debounce() already. At least this new function should follow > the naming (gpiod as it takes descriptior): > > int gpiod_set_debounce_optional(struct gpio_desc *desc, unsigned int debounce); Unfortunately it will be inconsistent with the naming schema. I explained the choice of name in the cover letter. I will elaborate a bit there. -- With Best Regards, Andy Shevchenko