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

Commit c74187e5 authored by Neeraj Upadhyay's avatar Neeraj Upadhyay
Browse files

regulator: cpr4: null terminate of_match_table



Null terminate cpr4_mmss_regulator_match_table with
'{}', to fix the error reported from KASAN.

Change-Id: Ib991fe5ce57e9e12132c3c836e1e807cb0afad22
Signed-off-by: default avatarNeeraj Upadhyay <neeraju@codeaurora.org>
parent 2aa89ab3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -737,6 +737,7 @@ static const struct of_device_id cpr4_mmss_regulator_match_table[] = {
		.compatible = "qcom,cpr4-sdm660-mmss-ldo-regulator",
		.data = (void *)NULL,
	},
	{ },
};

static struct platform_driver cpr4_mmss_regulator_driver = {