mlxsw: core_thermal: Make mlxsw_thermal_module_init() void
authorIdo Schimmel <idosch@nvidia.com>
Fri, 31 Mar 2023 14:17:31 +0000 (16:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Apr 2023 12:42:30 +0000 (13:42 +0100)
commitc1536d856e18c6d37a6b7d1fc68d3d27aa7f8e9d
tree17e12a38b13c44fba465df19bf3a1fe35544bef3
parent5601ef91fba8efea483a7ca3bd6c42a581e4daa1
mlxsw: core_thermal: Make mlxsw_thermal_module_init() void

The function can no longer fail so make it void and remove the
associated error path.

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: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c