Re: [PATCH v5 05/13] gpio: adp5585: use devm_blocking_notifier_chain_register()

Linus Walleij <[email protected]>
Newsgroups dev.linux.lists.acpica-devel,org.kernel.vger.linux-acpi,org.kernel.vger.linux-gpio,org.kernel.vger.linux-iio,org.kernel.vger.linux-input,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pwm,org.kernel.vger.platform-driver-x86
Message-ID <CAD++jL=_Ajiq=OCS1zOjYJSmF_A6hvLWkLeDq1sgopv++sD5FQ@mail.gmail.com>
On Sun, Aug 16, 2026 at 8:08 AM Eliav Farber <[email protected]> wrote:

> Replace the blocking_notifier_chain_register() +
> devm_add_action_or_reset() pattern with a single call to
> devm_blocking_notifier_chain_register(), removing the
> adp5585_gpio_unreg_notifier() callback.
>
> Signed-off-by: Eliav Farber <[email protected]>
> Acked-by: Bartosz Golaszewski <[email protected]>

Sashikos comment is probably correct but can be fixed in another
patch by whoever wants to.
Reviewed-by: Linus Walleij <[email protected]>

Yours,
Linus Walleij
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.