Searched refs:module_tz (Results 1 – 1 of 1) sorted by relevance
669 mlxsw_thermal_module_tz_init(struct mlxsw_thermal_module *module_tz) in mlxsw_thermal_module_tz_init() argument675 module_tz->module + 1); in mlxsw_thermal_module_tz_init()676 module_tz->tzdev = thermal_zone_device_register(tz_name, in mlxsw_thermal_module_tz_init()679 module_tz, in mlxsw_thermal_module_tz_init()682 module_tz->parent->polling_delay); in mlxsw_thermal_module_tz_init()683 if (IS_ERR(module_tz->tzdev)) { in mlxsw_thermal_module_tz_init()684 err = PTR_ERR(module_tz->tzdev); in mlxsw_thermal_module_tz_init()688 err = thermal_zone_device_enable(module_tz->tzdev); in mlxsw_thermal_module_tz_init()690 thermal_zone_device_unregister(module_tz->tzdev); in mlxsw_thermal_module_tz_init()704 struct mlxsw_thermal_module *module_tz; in mlxsw_thermal_module_init() local[all …]