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

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

leds: qpnp-wled: Fix suspicious indentation



This code is suspiciously indented, tripping up newer GCCs which
warn about such things. Fix it.

Change-Id: Ida556c84bd4e0088428f42e0596db6fee977bec8
CRs-Fixed: 2014919
Cc: David Collins <collinsd@codeaurora.org>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 1d8f5477
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -2076,6 +2076,7 @@ static int qpnp_wled_probe(struct platform_device *pdev)
	wled = devm_kzalloc(&pdev->dev, sizeof(*wled), GFP_KERNEL);
	if (!wled)
		return -ENOMEM;

	wled->regmap = dev_get_regmap(pdev->dev.parent, NULL);
	if (!wled->regmap) {
		dev_err(&pdev->dev, "Couldn't get parent's regmap\n");