Re: [PATCH v3 04/12] gpiolib: remove gpio_set_debounce

2023-02-07 Thread Dmitry Torokhov
On Tue, Feb 07, 2023 at 04:29:44PM +0200, Andy Shevchenko wrote: > @@ -1010,14 +1009,21 @@ static int ads7846_setup_pendown(struct spi_device > *spi, > } > > ts->gpio_pendown = pdata->gpio_pendown; > - > - if (pdata->gpio_pendown_debounce) > -

Re: [PATCH v3 04/12] gpiolib: remove gpio_set_debounce

2023-02-07 Thread Andy Shevchenko
On Tue, Feb 07, 2023 at 01:32:01PM -0800, Dmitry Torokhov wrote: > On Tue, Feb 07, 2023 at 04:29:44PM +0200, Andy Shevchenko wrote: > > @@ -1010,14 +1009,21 @@ static int ads7846_setup_pendown(struct spi_device > > *spi, > > } > > > > ts->gpio_pendown = pdata->gpio_pendow

[PATCH v3 04/12] gpiolib: remove gpio_set_debounce

2023-02-07 Thread Andy Shevchenko
From: Arnd Bergmann gpio_set_debounce() only has a single user, which is trivially converted to gpiod_set_debounce(). Signed-off-by: Arnd Bergmann Reviewed-by: Linus Walleij Reviewed-by: Andy Shevchenko Signed-off-by: Andy Shevchenko --- Documentation/driver-api/gpio/legacy.rst | 2 --