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

Unverified Commit 4da46f80 authored by Michael Bestas's avatar Michael Bestas
Browse files

max31760: Fix misleading indentation

Change-Id: Ib50db1c3418c8b4e3aa3880f7052aed37252598b
parent fd4f634b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -191,12 +191,13 @@ static int max31760_parse_dt(struct device *dev,
	if (!gpio_is_valid(pdata->fan_pwr_bp)) {
		pr_err("%s fan_pwr_bp gpio not specified\n", __func__);
		ret = -EINVAL;
	} else
	} else {
		ret = gpio_request(pdata->fan_pwr_bp, "fan_pwr_bp");
		if (ret) {
			pr_err("max31760 fan_pwr_bp gpio request failed\n");
			goto error2;
		}
	}
	turn_gpio(pdata, true);

	return ret;