Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d213aeea authored by Stephen Boyd's avatar Stephen Boyd
Browse files

msm: msm_bus: Add braces around suspiciously indented code



The code here is indented, but the braces are missing for a
multi-statement if branch. Add the braces so that it doesn't look
confusing and also so that newer compilers don't complain about
missing braces. Code functionally should be the same.

Change-Id: I460e7c095a3cd95fd9576fd2613cf7a498837095
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent f842ad22
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1531,21 +1531,22 @@ static int msm_bus_device_probe(struct platform_device *pdev)
				goto exit_device_probe;
			}
		}
		if (pdata->info[i].node_info->is_bcm_dev)
		if (pdata->info[i].node_info->is_bcm_dev) {
			ret = msm_bus_bcm_init(node_dev, &pdata->info[i]);
			if (ret) {
				MSM_BUS_ERR("%s: Error intializing bcm %d",
					__func__, pdata->info[i].node_info->id);
				goto exit_device_probe;
			}
		if (pdata->info[i].node_info->is_rsc_dev)
		}
		if (pdata->info[i].node_info->is_rsc_dev) {
			ret = msm_bus_rsc_init(pdev, node_dev, &pdata->info[i]);
			if (ret) {
				MSM_BUS_ERR("%s: Error intializing rsc %d",
					__func__, pdata->info[i].node_info->id);
				goto exit_device_probe;
			}

		}
	}

	ret = bus_for_each_dev(&msm_bus_type, NULL, NULL,