Re: [PATCH] ASoC: samsung: speyside: Free gpiod table

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



On Wed, Mar 12, 2025 at 12:14 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> On Wed, Mar 12, 2025 at 11:02:25AM +0100, Linus Walleij wrote:
> > We create a gpio descriptor table but it needs to be free:ed
> > when the module is removed. Add a devm_ action to do the job.
>
> As the fix this is fine, but I'm wondering if we want to have
> devm_gpiod_add_lookup_table() in the GPIO devres,c/h?

A lot of the tables are added statically from board files and the
like, i.e. there is no device to associate them with, but I don't know
how many could actually use devres?

Yours,
Linus Walleij





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux