Skip to content

Commit 08d82d0

Browse files
hvilleneuvedooalexandrebelloni
authored andcommitted
rtc: pcf2127: add missing semicolon after statement
Replace comma with semicolon at the end of the statement when setting config.max_register. Fixes: fd28ceb ("rtc: pcf2127: add variant-specific configuration structure") Cc: stable@vger.kernel.org Cc: Elena Popa <elena.popa@nxp.com> Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> Link: https://lore.kernel.org/r/20250529202923.1552560-1-hugo@hugovil.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent fa78e9b commit 08d82d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/rtc/rtc-pcf2127.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1543,7 +1543,7 @@ static int pcf2127_spi_probe(struct spi_device *spi)
15431543
config.write_flag_mask = 0x0;
15441544
}
15451545

1546-
config.max_register = variant->max_register,
1546+
config.max_register = variant->max_register;
15471547

15481548
regmap = devm_regmap_init_spi(spi, &config);
15491549
if (IS_ERR(regmap)) {

0 commit comments

Comments
 (0)