mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-18 04:35:11 +00:00
regulator: s2mpa01: Fix inconsistent indenting
Broken indenting makes code more difficult to read and brings confusion. Fix warning reported by Smatch: s2mpa01.c:362 s2mpa01_pmic_probe() warn: inconsistent indenting Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
8a05eb1902
commit
5339c34f39
1 changed files with 5 additions and 5 deletions
|
|
@ -357,11 +357,11 @@ static int s2mpa01_pmic_probe(struct platform_device *pdev)
|
||||||
if (iodev->dev->of_node) {
|
if (iodev->dev->of_node) {
|
||||||
reg_np = of_get_child_by_name(iodev->dev->of_node,
|
reg_np = of_get_child_by_name(iodev->dev->of_node,
|
||||||
"regulators");
|
"regulators");
|
||||||
if (!reg_np) {
|
if (!reg_np) {
|
||||||
dev_err(&pdev->dev,
|
dev_err(&pdev->dev,
|
||||||
"could not find regulators sub-node\n");
|
"could not find regulators sub-node\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
of_regulator_match(&pdev->dev, reg_np, rdata,
|
of_regulator_match(&pdev->dev, reg_np, rdata,
|
||||||
S2MPA01_REGULATOR_MAX);
|
S2MPA01_REGULATOR_MAX);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue