driver/led/lm3630a.c: Format with clang-format
BRANCH=none
TEST=none
#include "lm3630a.h"
#include "timer.h"
-
/* I2C address */
#define LM3630A_I2C_ADDR_FLAGS 0x36
static inline int lm3630a_write(uint8_t reg, uint8_t val)
{
- return i2c_write8(I2C_PORT_KBLIGHT, LM3630A_I2C_ADDR_FLAGS,
- reg, val);
+ return i2c_write8(I2C_PORT_KBLIGHT, LM3630A_I2C_ADDR_FLAGS, reg, val);
}
static void deferred_lm3630a_poweron(void)
@@ -51,8 +49,7 @@ int lm3630a_poweron(void)
/* 24V, 800mA overcurrent protection, 500kHz boost frequency. */
ret |= lm3630a_write(LM3630A_REG_BOOST_CONTROL,
- LM3630A_BOOST_OVP_24V |
- LM3630A_BOOST_OCP_800MA |
+ LM3630A_BOOST_OVP_24V | LM3630A_BOOST_OCP_800MA |
LM3630A_FMODE_500KHZ);
/* Limit current to 24.5mA */
