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: [email protected] Cc: Elena Popa <[email protected]> Signed-off-by: Hugo Villeneuve <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent fa78e9b commit 08d82d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)