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

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

Merge "leds: leds-qpnp: Correctly terminate of_device_id array"

parents 407db86e ea7a28ed
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -3693,10 +3693,15 @@ static int qpnp_leds_remove(struct spmi_device *spmi)

	return 0;
}

#ifdef CONFIG_OF
static struct of_device_id spmi_match_table[] = {
	{	.compatible = "qcom,leds-qpnp",
	}
	{ .compatible = "qcom,leds-qpnp",},
	{ },
};
#else
#define spmi_match_table NULL
#endif

static struct spmi_driver qpnp_leds_driver = {
	.driver		= {