Re: [PATCH 4/8] gpiolib: remove gpio_set_debounce

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 26, 2023 at 02:27:57PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
> 
> gpio_set_debounce() only has a single user, which is trivially
> converted to gpiod_set_debounce().

Also need to mention the gpio_cansleep() removal.

P.S. Fun fact that I was yesterday thinking about the pretty much
the same change, except intrusive conversion of the user.

...

>  Documentation/driver-api/gpio/legacy.rst |  2 --

Documentation/translations/zh_CN/driver-api/gpio/legacy.rst:222:                gpio_set_debounce()
Documentation/translations/zh_TW/gpio.txt:229:  gpio_set_debounce()


>  drivers/input/touchscreen/ads7846.c      | 24 +++++++++++++-----------
>  include/linux/gpio.h                     | 22 ----------------------

...

>  #include <linux/of_gpio.h>

Do we need this?

>  #include <linux/of_device.h>
> +#include <linux/gpio/consumer.h>

>  #include <linux/gpio.h>

And this?

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux