# Re: \[GIT PULL\] Base commit for devm\_{atomic,blocking}\_notifier\_chain\_register()

- From: Uwe Kleine-König \<ukleinek@kernel.org\>
- Date: 2026-08-22 06:31:46 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2026/08/17447902
- Thread: https://ratatoskr.run/linux-acpi/2026/08/17417877/t.md

```text
On Fri, Aug 21, 2026 at 04:07:18PM +0200, Uwe Kleine-König wrote:
> On Sun, Aug 16, 2026 at 06:05:59AM +0000, Eliav Farber wrote:
> > Many drivers repeat the same boilerplate when registering notifiers with
> > device lifetime:
> > 
> >   1. Register the notifier with *_notifier_chain_register()
> >   2. Check for error
> >   3. Register a devm action to unregister on teardown
> >   4. Implement a per-driver static unregister callback
> > 
> > This series adds devm_atomic_notifier_chain_register() and
> > devm_blocking_notifier_chain_register() that automatically unregister
> > the notifier when the device is unbound, then converts 11 drivers to use
> > them.
> 
> I applied the first patch on top of v7.2 for you to merge into your
> subsystem trees as base for applying the patch(es) from this series that
> should go via your tree.
> 
> Find it at
> 
>   https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git tags/devm_notifier_chain_register-for-7.3
> 
> This tag only contains this single commit e38b9eda475f ("notifier: add
> device-managed registration APIs"). I intend to include it in my PR for
> v7.3-rc1, feel free to do the same.

While I tried to pick up the pwm patch in this series I noticed my
Arithmetic error here 🙄. It should be 7.4 of course. I created

	https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git tags/devm_notifier_chain_register-for-7.4

with a fixed tag message and dropped the 7.3 tag. (Even is someone
already pulled it, nothing bad happens as it points to the same commit.)

Sorry for the confusion.
Uwe
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-input/2026/08/17447902/attachment/0) (application/pgp-signature, 488 bytes)
