chip/mchp/fan.c: Format with clang-format
BRANCH=none
TEST=none
@@ -38,7 +38,6 @@ static int rpm_setting;
static int duty_setting;
static int in_rpm_mode = 1;
-
static void clear_status(void)
{
/* Clear DRIVE_FAIL, FAN_SPIN, and FAN_STALL bits */
@@ -84,8 +83,8 @@ void fan_set_duty(int ch, int percent)
int fan_get_duty(int ch)
{
- duty_setting = (MCHP_FAN_SETTING(0) >> FAN_DRIVER_SETTING_SHIFT)
- * 100 / MAX_FAN_DRIVER_SETTING;
+ duty_setting = (MCHP_FAN_SETTING(0) >> FAN_DRIVER_SETTING_SHIFT) * 100 /
+ MAX_FAN_DRIVER_SETTING;
return duty_setting;
}
