Commit 08d82d0c authored by Hugo Villeneuve's avatar Hugo Villeneuve Committed by Alexandre Belloni
Browse files

rtc: pcf2127: add missing semicolon after statement



Replace comma with semicolon at the end of the statement when setting
config.max_register.

Fixes: fd28ceb4 ("rtc: pcf2127: add variant-specific configuration structure")
Cc: stable@vger.kernel.org
Cc: Elena Popa <elena.popa@nxp.com>
Signed-off-by: default avatarHugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20250529202923.1552560-1-hugo@hugovil.com


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent fa78e9b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1543,7 +1543,7 @@ static int pcf2127_spi_probe(struct spi_device *spi)
		config.write_flag_mask = 0x0;
	}

	config.max_register = variant->max_register,
	config.max_register = variant->max_register;

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