Re: [net v3 1/1] net: ethernet: adi: adin1110: Fix notifiers
From: Jakub Kicinski
Date: Wed Oct 26 2022 - 23:40:47 EST
On Tue, 25 Oct 2022 10:52:27 +0300 Alexandru Tachici wrote:
> + int err;
> +
> + err = adin1110_setup_notifiers();
> + if (err)
> + return err;
> +
> + return spi_register_driver(&adin1110_driver);
What unregisters the notifies if spi_register_driver()
fails, now?