driver/usb_mux/tusb1064.c: Format with clang-format
BRANCH=none
TEST=none
#define CPRINTF(format, args...) cprintf(CC_USBCHARGE, format, ##args)
#if defined(CONFIG_USB_MUX_TUSB1044) + defined(CONFIG_USB_MUX_TUSB1064) + \
- defined(CONFIG_USB_MUX_TUSB546) != 1
+ defined(CONFIG_USB_MUX_TUSB546) != \
+ 1
#error "Must choose exactly one of CONFIG_USB_MUX_TUSB{546,1044,1064}"
#endif
static int tusb1064_read(const struct usb_mux *me, uint8_t reg, uint8_t *val)
{
int buffer = 0xee;
- int res = i2c_read8(me->i2c_port, me->i2c_addr_flags,
- (int)reg, &buffer);
+ int res =
+ i2c_read8(me->i2c_port, me->i2c_addr_flags, (int)reg, &buffer);
*val = buffer;
return res;
}
static int tusb1064_write(const struct usb_mux *me, uint8_t reg, uint8_t val)
{
- return i2c_write8(me->i2c_port, me->i2c_addr_flags,
- (int)reg, (int)val);
+ return i2c_write8(me->i2c_port, me->i2c_addr_flags, (int)reg, (int)val);
}
#if defined(CONFIG_USB_MUX_TUSB1044)
