upgrade rtt 5.2.2
This commit is contained in:
@@ -255,7 +255,7 @@ _fail:
|
||||
|
||||
static rt_err_t pwm_fan_cool_remove(struct rt_platform_device *pdev)
|
||||
{
|
||||
struct pwm_fan_cool *pf_cool = pdev->parent.ofw_node;
|
||||
struct pwm_fan_cool *pf_cool = pdev->parent.user_data;
|
||||
|
||||
rt_thermal_cooling_device_unregister(&pf_cool->parent);
|
||||
|
||||
|
||||
@@ -223,6 +223,7 @@ _scan_cooling:
|
||||
}
|
||||
}
|
||||
_end:
|
||||
;
|
||||
}
|
||||
#else
|
||||
rt_inline void thermal_ofw_setup(struct rt_ofw_node *np, struct rt_thermal_zone_device *zdev)
|
||||
|
||||
Reference in New Issue
Block a user