Re: why is gpiolib-legacy.o automatically compiled into gpiolib?

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

 



On Tue, Jun 6, 2017 at 12:59 PM,  <rpjday@xxxxxxxxxxxxxx> wrote:

>   for the first time, going through the docs to learn about the descriptor
> interface for GPIO, and while the Doc directory seems to suggest that the
> "legacy" interface is deprecated, the drivers/gpio/Makefile contains the
> line:
>
>   obj-$(CONFIG_GPIOLIB)         += gpiolib-legacy.o
>
> so is that "legacy" file still required for descriptor-based interface?
> i'm sure i'll figure it out if i keep reading, but a quick clarification
> would not go unappreciated.

We cannot remove the legacy API before we have changed all
users and all platforms to use the descriptor API.

Unfortunately this is a daunting task. We do it whenever we can.

All patches increasing the use of global GPIO numbers and
increasing the use of decriptor handles are greatly appreciated.

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



[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