Skip to content

Commit c99f7ec

Browse files
committed
drivers: fuel_gauge: fix i2c_dump_msgs_rw argument
Fix another i2c_dump_msgs_rw: /drivers/fuel_gauge/bq27z746/emul_bq27z746.c:282:26: warning: passing argument 1 of ‘i2c_dump_msgs_rw’ from incompatible pointer type Signed-off-by: Fabio Baltieri <[email protected]>
1 parent 2779dd9 commit c99f7ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/fuel_gauge/bq27z746/emul_bq27z746.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ static int bq27z746_emul_transfer_i2c(const struct emul *target, struct i2c_msg
279279

280280
__ASSERT_NO_MSG(msgs && num_msgs);
281281

282-
i2c_dump_msgs_rw("emul", msgs, num_msgs, addr, false);
282+
i2c_dump_msgs_rw(target->dev, msgs, num_msgs, addr, false);
283283
switch (num_msgs) {
284284
case 1:
285285
if (msgs->flags & I2C_MSG_READ) {

0 commit comments

Comments
 (0)