aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Villeneuve <hvilleneuve@dimonoff.com>2025-05-29 16:29:22 -0400
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2025-06-24 16:06:14 +0200
commit08d82d0cad51c2b1d454fe41ea1ff96ade676961 (patch)
treed5a92246727cbffa3427aef6aa9db5d8b421cadf
parentfa78e9b606a472495ef5b6b3d8b45c37f7727f9d (diff)
downloadtip-08d82d0cad51c2b1d454fe41ea1ff96ade676961.tar.gz
rtc: pcf2127: add missing semicolon after statement
Replace comma with semicolon at the end of the statement when setting config.max_register. Fixes: fd28ceb4603f ("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>
-rw-r--r--drivers/rtc/rtc-pcf2127.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-pcf2127.c b/drivers/rtc/rtc-pcf2127.c
index 2c7917bc2a31ed..2e1ac0c42e9323 100644
--- a/drivers/rtc/rtc-pcf2127.c
+++ b/drivers/rtc/rtc-pcf2127.c
@@ -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)) {