Skip to content

Commit f4d08a8

Browse files
Chen NiBartosz Golaszewski
authored andcommitted
gpio: sama5d2-piobu: convert comma to semicolon
Replace comma between expressions with semicolons. Using a ',' in place of a ';' can have unintended side effects. Although that is not the case here, it is seems best to use ';' unless ',' is intended. Found by inspection. No functional change intended. Compile tested only. Signed-off-by: Chen Ni <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent ccaf846 commit f4d08a8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

drivers/gpio/gpio-sama5d2-piobu.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -191,15 +191,15 @@ static int sama5d2_piobu_probe(struct platform_device *pdev)
191191

192192
piobu->chip.label = pdev->name;
193193
piobu->chip.parent = &pdev->dev;
194-
piobu->chip.owner = THIS_MODULE,
195-
piobu->chip.get_direction = sama5d2_piobu_get_direction,
196-
piobu->chip.direction_input = sama5d2_piobu_direction_input,
197-
piobu->chip.direction_output = sama5d2_piobu_direction_output,
198-
piobu->chip.get = sama5d2_piobu_get,
199-
piobu->chip.set = sama5d2_piobu_set,
200-
piobu->chip.base = -1,
201-
piobu->chip.ngpio = PIOBU_NUM,
202-
piobu->chip.can_sleep = 0,
194+
piobu->chip.owner = THIS_MODULE;
195+
piobu->chip.get_direction = sama5d2_piobu_get_direction;
196+
piobu->chip.direction_input = sama5d2_piobu_direction_input;
197+
piobu->chip.direction_output = sama5d2_piobu_direction_output;
198+
piobu->chip.get = sama5d2_piobu_get;
199+
piobu->chip.set = sama5d2_piobu_set;
200+
piobu->chip.base = -1;
201+
piobu->chip.ngpio = PIOBU_NUM;
202+
piobu->chip.can_sleep = 0;
203203

204204
piobu->regmap = syscon_node_to_regmap(pdev->dev.of_node);
205205
if (IS_ERR(piobu->regmap)) {

0 commit comments

Comments
 (0)