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

Commit b83a3f84 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "leds: qti-tri-led: Fix uninitialized variable error" into msm-4.14

parents dc6a0257 b9a830f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -412,7 +412,7 @@ static int qpnp_tri_led_parse_dt(struct qpnp_tri_led_chip *chip)
	struct qpnp_led_dev *led;
	struct qpnp_led_dev *led;
	struct pwm_args pargs;
	struct pwm_args pargs;
	const __be32 *addr;
	const __be32 *addr;
	int rc, id, i = 0;
	int rc = 0, id, i = 0;


	addr = of_get_address(chip->dev->of_node, 0, NULL, NULL);
	addr = of_get_address(chip->dev->of_node, 0, NULL, NULL);
	if (!addr) {
	if (!addr) {