sensor: f75303: fix i2c_dump_msgs_rw argument

i2c_dump_msgs_rw argument should be the device pointer.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2023-09-07 09:59:56 +00:00 committed by Alberto Escolar
commit 02afefe34a

View file

@ -57,7 +57,7 @@ static int f75303_emul_transfer_i2c(const struct emul *target, struct i2c_msg *m
__ASSERT_NO_MSG(msgs && num_msgs);
i2c_dump_msgs_rw("emul", msgs, num_msgs, addr, false);
i2c_dump_msgs_rw(target->dev, msgs, num_msgs, addr, false);
switch (num_msgs) {
case 2:
if (msgs->flags & I2C_MSG_READ) {