Skip to content

Commit ef6d105

Browse files
krzksre
authored andcommitted
power: reset: qcom-pon: drop of_match_ptr for ID table
The Qualcomm SoC power-on driver is specific to ARCH_QCOM which depends on OF thus the driver is OF-only. It's of_device_id table is built unconditionally, thus of_match_ptr() for ID table does not make sense. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
1 parent 65cc52f commit ef6d105

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/power/reset/qcom-pon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ static struct platform_driver pm8916_pon_driver = {
9191
.probe = pm8916_pon_probe,
9292
.driver = {
9393
.name = "pm8916-pon",
94-
.of_match_table = of_match_ptr(pm8916_pon_id_table),
94+
.of_match_table = pm8916_pon_id_table,
9595
},
9696
};
9797
module_platform_driver(pm8916_pon_driver);

0 commit comments

Comments
 (0)