diff options
author | Ido Schimmel <idosch@nvidia.com> | 2024-07-30 16:58:17 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-01 04:38:28 +0300 |
commit | fb76ea1d4b12dab4ad1573f16b340e97174269b6 (patch) | |
tree | a4ff6dd87be33110ab21b6a1ff9ec0b6a0ae3d48 /scripts/gdb/linux/utils.py | |
parent | 73c18f9998fd1f172baaea26d266b1efa4e7b0c5 (diff) | |
download | linux-fb76ea1d4b12dab4ad1573f16b340e97174269b6.tar.xz |
mlxsw: core_thermal: Make mlxsw_thermal_module_{init, fini} symmetric
mlxsw_thermal_module_fini() de-initializes the module's thermal zone,
but mlxsw_thermal_module_init() does not initialize it. Make both
functions symmetric by moving the initialization of the module's thermal
zone to mlxsw_thermal_module_init().
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Link: https://patch.msgid.link/a661ad468f8ad0d7d533d8334e4abf61dfe34342.1722345311.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions