]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rtc: twl: convert comma to semicolon
authorChen Ni <nichen@iscas.ac.cn>
Tue, 16 Jul 2024 03:02:52 +0000 (11:02 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 11 Sep 2024 22:08:09 +0000 (00:08 +0200)
Replace a comma between expression statements by a semicolon.

Fixes: 7130856f5605 ("rtc: twl: add NVRAM support")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://lore.kernel.org/r/20240716030252.400340-1-nichen@iscas.ac.cn
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-twl.c

index 2cfacdd37e09499c7777992d3b1da547e1e6d481..4e24c12004f1651a03b9073c2743637efa2f7537 100644 (file)
@@ -591,8 +591,8 @@ static int twl_rtc_probe(struct platform_device *pdev)
        memset(&nvmem_cfg, 0, sizeof(nvmem_cfg));
        nvmem_cfg.name = "twl-secured-";
        nvmem_cfg.type = NVMEM_TYPE_BATTERY_BACKED;
-       nvmem_cfg.reg_read = twl_nvram_read,
-       nvmem_cfg.reg_write = twl_nvram_write,
+       nvmem_cfg.reg_read = twl_nvram_read;
+       nvmem_cfg.reg_write = twl_nvram_write;
        nvmem_cfg.word_size = 1;
        nvmem_cfg.stride = 1;
        if (twl_class_is_4030()) {