Re: [PATCH] macintosh/therm_windtunnel: fix module unload.

2024-07-12 Thread Michael Ellerman
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

[PATCH] macintosh/therm_windtunnel: fix module unload.

2024-07-10 Thread Nick Bowler
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