zephyr/emul/tcpc/emul_ps8xxx.c: Format with clang-format
BRANCH=none
TEST=none
@@ -164,10 +164,10 @@ struct i2c_emul *ps8xxx_emul_get_i2c_emul(const struct emul *emul,
* @return TCPCI_EMUL_DONE to immedietly return success
* @return TCPCI_EMUL_ERROR to immedietly return error
*/
-static enum tcpci_emul_ops_resp ps8xxx_emul_tcpci_read_byte(
- const struct emul *emul,
- const struct tcpci_emul_dev_ops *ops,
- int reg, uint8_t *val, int bytes)
+static enum tcpci_emul_ops_resp
+ps8xxx_emul_tcpci_read_byte(const struct emul *emul,
+ const struct tcpci_emul_dev_ops *ops, int reg,
+ uint8_t *val, int bytes)
{
uint16_t reg_val;
@@ -206,10 +206,10 @@ static enum tcpci_emul_ops_resp ps8xxx_emul_tcpci_read_byte(
* @return TCPCI_EMUL_DONE to immedietly return success
* @return TCPCI_EMUL_ERROR to immedietly return error
*/
-static enum tcpci_emul_ops_resp ps8xxx_emul_tcpci_write_byte(
- const struct emul *emul,
- const struct tcpci_emul_dev_ops *ops,
- int reg, uint8_t val, int bytes)
+static enum tcpci_emul_ops_resp
+ps8xxx_emul_tcpci_write_byte(const struct emul *emul,
+ const struct tcpci_emul_dev_ops *ops, int reg,
+ uint8_t val, int bytes)
{
uint16_t prod_id;
@@ -252,10 +252,10 @@ static enum tcpci_emul_ops_resp ps8xxx_emul_tcpci_write_byte(
* @return TCPCI_EMUL_DONE to immedietly return success
* @return TCPCI_EMUL_ERROR to immedietly return error
*/
-static enum tcpci_emul_ops_resp ps8xxx_emul_tcpci_handle_write(
- const struct emul *emul,
- const struct tcpci_emul_dev_ops *ops,
- int reg, int msg_len)
+static enum tcpci_emul_ops_resp
+ps8xxx_emul_tcpci_handle_write(const struct emul *emul,
+ const struct tcpci_emul_dev_ops *ops, int reg,
+ int msg_len)
{
uint16_t prod_id;
@@ -573,8 +573,8 @@ static int ps8xxx_emul_init(const struct emul *emul,
.addr = DT_INST_PROP(n, gpio_i2c_addr), \
}, \
}; \
- EMUL_DEFINE(ps8xxx_emul_init, DT_DRV_INST(n), \
- &ps8xxx_emul_cfg_##n, &ps8xxx_emul_data_##n)
+ EMUL_DEFINE(ps8xxx_emul_init, DT_DRV_INST(n), &ps8xxx_emul_cfg_##n, \
+ &ps8xxx_emul_data_##n)
DT_INST_FOREACH_STATUS_OKAY(PS8XXX_EMUL)
