driver/led/is31fl3743b.c: Format with clang-format
BRANCH=none
TEST=none
@@ -49,8 +49,8 @@ struct is31fl3743b_msg {
uint8_t payload[];
} __packed;
-__maybe_unused
-static int is31fl3743b_read(struct rgbkbd *ctx, uint8_t addr, uint8_t *value)
+__maybe_unused static int is31fl3743b_read(struct rgbkbd *ctx, uint8_t addr,
+ uint8_t *value)
{
uint8_t buf[8];
struct is31fl3743b_msg *msg = (void *)buf;
@@ -81,8 +81,8 @@ static int is31fl3743b_write(struct rgbkbd *ctx, uint8_t addr, uint8_t value)
static int is31fl3743b_enable(struct rgbkbd *ctx, bool enable)
{
- uint8_t u8 = IS31FL3743B_CONFIG(IS31FL3743B_CFG_SWS_1_11, 0,
- enable ? 1 : 0);
+ uint8_t u8 =
+ IS31FL3743B_CONFIG(IS31FL3743B_CFG_SWS_1_11, 0, enable ? 1 : 0);
CPRINTS("Setting config register to 0b%pb", BINARY_VALUE(u8, 8));
return is31fl3743b_write(ctx, IS31FL3743B_REG_CONFIG, u8);
}
