Re: [PATCH 1/2] gpiolib: rename gpio_set_debounce_timeout() for consistency

From: Andy Shevchenko
Date: Mon Sep 04 2023 - 05:25:09 EST


On Mon, Sep 04, 2023 at 09:34:09AM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> All other functions that manipulate a struct gpio_desc use the gpiod_
> prefix. Follow this convention and rename gpio_set_debounce_timeout() to
> gpiod_set_debounce_timeout().

No, that's not true. This one is inline with the other gpio_set() _internal_
APIs. If renamed, should be done consistently.

--
With Best Regards,
Andy Shevchenko