Searched refs:module_tz (Results 1 – 1 of 1) sorted by relevance
609 mlxsw_thermal_module_tz_init(struct mlxsw_thermal_module *module_tz) in mlxsw_thermal_module_tz_init() argument614 if (module_tz->slot_index) in mlxsw_thermal_module_tz_init()616 module_tz->slot_index, module_tz->module + 1); in mlxsw_thermal_module_tz_init()619 module_tz->module + 1); in mlxsw_thermal_module_tz_init()620 module_tz->tzdev = thermal_zone_device_register(tz_name, in mlxsw_thermal_module_tz_init()623 module_tz, in mlxsw_thermal_module_tz_init()627 module_tz->parent->polling_delay); in mlxsw_thermal_module_tz_init()628 if (IS_ERR(module_tz->tzdev)) { in mlxsw_thermal_module_tz_init()629 err = PTR_ERR(module_tz->tzdev); in mlxsw_thermal_module_tz_init()633 err = thermal_zone_device_enable(module_tz->tzdev); in mlxsw_thermal_module_tz_init()[all …]