lkml.org 
[lkml]   [2022]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [net v3 1/1] net: ethernet: adi: adin1110: Fix notifiers
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?

\
 
 \ /
  Last update: 2022-10-27 05:43    [W:0.080 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site