[PATCH] macintosh/therm_windtunnel: fix module unload.
Michael Ellerman
patch-notifications at ellerman.id.au
Fri Jul 12 22:53:14 AEST 2024
On Wed, 10 Jul 2024 23:54:17 -0400, Nick Bowler wrote:
> The of_device_unregister call in therm_windtunnel's module_exit procedure
> does not fully reverse the effects of of_platform_device_create in the
> module_init prodedure. Once you unload this module, it is impossible
> to load it ever again since only the first of_platform_device_create
> call on the fan node succeeds.
>
> This driver predates first git commit, and it turns out back then
> of_platform_device_create worked differently than it does today.
> So this is actually an old regression.
>
> [...]
Applied to powerpc/next.
[1/1] macintosh/therm_windtunnel: fix module unload.
https://git.kernel.org/powerpc/c/fd748e177194ebcbbaf98df75152a30e08230cc6
cheers
More information about the Linuxppc-dev
mailing list