bdk: fan: rename functions and add set from temp
- Rename functions to proper style (drivername_) - Add fan_set_from_temp for managing the fan with passed SoC temperature.
This commit is contained in:
@@ -459,7 +459,7 @@ void hw_deinit(bool coreboot, u32 bl_magic)
|
||||
// Disable temperature sensor, touchscreen, 5V regulators, Joy-Con and VIC.
|
||||
vic_end();
|
||||
tmp451_end();
|
||||
set_fan_duty(0);
|
||||
fan_set_duty(0);
|
||||
touch_power_off();
|
||||
jc_deinit();
|
||||
regulator_5v_disable(REGULATOR_5V_ALL);
|
||||
|
||||
Reference in New Issue
Block a user