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

Commit 6a5f061a authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "leds: qpnp-wled: Fix suspicious indentation" into msm-4.9

parents 35a02533 d71c7f65
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");