Commit f4d08a8f authored by Chen Ni's avatar Chen Ni Committed by Bartosz Golaszewski

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: default avatarChen Ni <nichen@iscas.ac.cn>
Link: https://lore.kernel.org/r/20240905024245.1642989-1-nichen@iscas.ac.cnSigned-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent ccaf8469
...@@ -191,15 +191,15 @@ static int sama5d2_piobu_probe(struct platform_device *pdev) ...@@ -191,15 +191,15 @@ static int sama5d2_piobu_probe(struct platform_device *pdev)
piobu->chip.label = pdev->name; piobu->chip.label = pdev->name;
piobu->chip.parent = &pdev->dev; piobu->chip.parent = &pdev->dev;
piobu->chip.owner = THIS_MODULE, piobu->chip.owner = THIS_MODULE;
piobu->chip.get_direction = sama5d2_piobu_get_direction, piobu->chip.get_direction = sama5d2_piobu_get_direction;
piobu->chip.direction_input = sama5d2_piobu_direction_input, piobu->chip.direction_input = sama5d2_piobu_direction_input;
piobu->chip.direction_output = sama5d2_piobu_direction_output, piobu->chip.direction_output = sama5d2_piobu_direction_output;
piobu->chip.get = sama5d2_piobu_get, piobu->chip.get = sama5d2_piobu_get;
piobu->chip.set = sama5d2_piobu_set, piobu->chip.set = sama5d2_piobu_set;
piobu->chip.base = -1, piobu->chip.base = -1;
piobu->chip.ngpio = PIOBU_NUM, piobu->chip.ngpio = PIOBU_NUM;
piobu->chip.can_sleep = 0, piobu->chip.can_sleep = 0;
piobu->regmap = syscon_node_to_regmap(pdev->dev.of_node); piobu->regmap = syscon_node_to_regmap(pdev->dev.of_node);
if (IS_ERR(piobu->regmap)) { if (IS_ERR(piobu->regmap)) {
......
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