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: Neeraj Upadhyay <neeraju@codeaurora.org>
This commit is contained in:
Neeraj Upadhyay 2017-02-08 16:34:20 +05:30
parent 2aa89ab3ff
commit c74187e5c8

View file

@ -737,6 +737,7 @@ static const struct of_device_id cpr4_mmss_regulator_match_table[] = {
.compatible = "qcom,cpr4-sdm660-mmss-ldo-regulator", .compatible = "qcom,cpr4-sdm660-mmss-ldo-regulator",
.data = (void *)NULL, .data = (void *)NULL,
}, },
{ },
}; };
static struct platform_driver cpr4_mmss_regulator_driver = { static struct platform_driver cpr4_mmss_regulator_driver = {