i2c: imx: Convert comma to semicolon
authorShen Lichuan <shenlichuan@vivo.com>
Mon, 9 Sep 2024 07:52:57 +0000 (15:52 +0800)
committerAndi Shyti <andi.shyti@kernel.org>
Mon, 9 Sep 2024 22:36:49 +0000 (00:36 +0200)
To ensure code clarity and prevent potential errors, it's advisable
to employ the ';' as a statement separator, except when ',' are
intentionally used for specific purposes.

Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-imx.c

index d68b575e5d18db61aaa41d41dccdf30459374c71..98539313cbc9701c23ffa855750c5eaed21fd275 100644 (file)
@@ -687,7 +687,7 @@ static void i2c_imx_stop(struct imx_i2c_struct *i2c_imx, bool atomic)
                i2c_imx_bus_busy(i2c_imx, 0, atomic);
 
        /* Disable I2C controller */
-       temp = i2c_imx->hwdata->i2cr_ien_opcode ^ I2CR_IEN,
+       temp = i2c_imx->hwdata->i2cr_ien_opcode ^ I2CR_IEN;
        imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2CR);
 }