Commit 2d611fbe authored by Chen Ni's avatar Chen Ni Committed by Alexandre Belloni

rtc: twl: convert comma to semicolon

Replace a comma between expression statements by a semicolon.

Fixes: 7130856f ("rtc: twl: add NVRAM support")
Signed-off-by: default avatarChen Ni <nichen@iscas.ac.cn>
Link: https://lore.kernel.org/r/20240716030252.400340-1-nichen@iscas.ac.cnSigned-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent adab39e1
...@@ -591,8 +591,8 @@ static int twl_rtc_probe(struct platform_device *pdev) ...@@ -591,8 +591,8 @@ static int twl_rtc_probe(struct platform_device *pdev)
memset(&nvmem_cfg, 0, sizeof(nvmem_cfg)); memset(&nvmem_cfg, 0, sizeof(nvmem_cfg));
nvmem_cfg.name = "twl-secured-"; nvmem_cfg.name = "twl-secured-";
nvmem_cfg.type = NVMEM_TYPE_BATTERY_BACKED; nvmem_cfg.type = NVMEM_TYPE_BATTERY_BACKED;
nvmem_cfg.reg_read = twl_nvram_read, nvmem_cfg.reg_read = twl_nvram_read;
nvmem_cfg.reg_write = twl_nvram_write, nvmem_cfg.reg_write = twl_nvram_write;
nvmem_cfg.word_size = 1; nvmem_cfg.word_size = 1;
nvmem_cfg.stride = 1; nvmem_cfg.stride = 1;
if (twl_class_is_4030()) { if (twl_class_is_4030()) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment