[PATCH v1 00/11] Get rid of [devm_]gpiod_get_from_of_node() public APIs

Greg Kroah-Hartman gregkh at linuxfoundation.org
Mon Sep 5 00:08:31 PDT 2022


On Sun, Sep 04, 2022 at 11:30:52PM -0700, Dmitry Torokhov wrote:
> I would like to stop exporting OF-specific [devm_]gpiod_get_from_of_node()
> so that gpiolib can be cleaned a bit. We can do that by switching drivers
> to use generic fwnode API ([devm_]fwnode_gpiod_get()). By doing so we open
> the door to augmenting device tree and ACPI information through secondary
> software properties (once we teach gpiolib how to handle those).
> 
> I hope that relevant maintainers will take patches through their trees and
> then we could merge the last one some time after -rc1.
> 
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>

Nice work, I'll go add the USB ones to my tree now, thanks!

greg k-h



More information about the linux-mtd mailing list