@@ -872,7 +872,7 @@ static int stm32f7_i2c_smbus_xfer_msg(st
default:
dev_err(dev, "Unsupported smbus protocol %d\n", f7_msg->size);
return -EOPNOTSUPP;
- };
+ }
f7_msg->buf = f7_msg->smbus_buf;
@@ -941,7 +941,7 @@ static void stm32f7_i2c_smbus_rep_start(
f7_msg->count = 1;
cr2 |= STM32F7_I2C_CR2_RELOAD;
break;
- };
+ }
f7_msg->buf = f7_msg->smbus_buf;
f7_msg->stop = true;
@@ -992,7 +992,7 @@ static int stm32f7_i2c_smbus_check_pec(s
default:
dev_err(i2c_dev->dev, "Unsupported smbus protocol for PEC\n");
return -EINVAL;
- };
+ }
if (internal_pec != received_pec) {
dev_err(i2c_dev->dev, "Bad PEC 0x%02x vs. 0x%02x\n",