]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mfd: tps6594-core: Remove unneeded semicolon in tps6594_check_crc_mode()
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 18 Jun 2024 01:18:54 +0000 (09:18 +0800)
committerLee Jones <lee@kernel.org>
Thu, 4 Jul 2024 16:38:40 +0000 (17:38 +0100)
Abaci Robot reports:

  drivers/mfd/tps6594-core.c:516:2-3: Unneeded semicolon

Let's remove it.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9346
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240618011854.109426-1-yang.lee@linux.alibaba.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/tps6594-core.c

index c59f3d7e32b09ce5425b0c36c0bd0a90757fd0b0..a7223e873cd16c23dd8b23d0752ee3ee0159441e 100644 (file)
@@ -513,7 +513,7 @@ static int tps6594_check_crc_mode(struct tps6594 *tps, bool primary_pmic)
        } else {
                regmap_reg = TPS6594_REG_SERIAL_IF_CONFIG;
                mask_val = TPS6594_BIT_I2C1_SPI_CRC_EN;
-       };
+       }
 
        /*
         * Check if CRC is enabled.