linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] backlight: sky81452-backlight: convert comma to semicolon
@ 2020-12-14 13:34 Zheng Yongjun
  2020-12-14 14:36 ` Daniel Thompson
  2020-12-16 14:36 ` Lee Jones
  0 siblings, 2 replies; 4+ messages in thread
From: Zheng Yongjun @ 2020-12-14 13:34 UTC (permalink / raw)
  To: lee.jones, daniel.thompson, jingoohan1, b.zolnierkie
  Cc: dri-devel, linux-fbdev, linux-kernel, Zheng Yongjun

Replace a comma between expression statements by a semicolon.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
---
 drivers/video/backlight/sky81452-backlight.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/backlight/sky81452-backlight.c b/drivers/video/backlight/sky81452-backlight.c
index 8268ac43d54f..c95e0de7f4e7 100644
--- a/drivers/video/backlight/sky81452-backlight.c
+++ b/drivers/video/backlight/sky81452-backlight.c
@@ -291,7 +291,7 @@ static int sky81452_bl_probe(struct platform_device *pdev)
 	}
 
 	memset(&props, 0, sizeof(props));
-	props.max_brightness = SKY81452_MAX_BRIGHTNESS,
+	props.max_brightness = SKY81452_MAX_BRIGHTNESS;
 	name = pdata->name ? pdata->name : SKY81452_DEFAULT_NAME;
 	bd = devm_backlight_device_register(dev, name, dev, regmap,
 						&sky81452_bl_ops, &props);
-- 
2.22.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-16 14:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 13:34 [PATCH -next] backlight: sky81452-backlight: convert comma to semicolon Zheng Yongjun
2020-12-14 14:36 ` Daniel Thompson
2020-12-15  8:04   ` Lee Jones
2020-12-16 14:36 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).