Skip to content

Commit 1c4aac1

Browse files
krzklinusw
authored andcommitted
pinctrl: qcom: qdf2xxx: drop ACPI_PTR
Driver can bind only via ACPI matching and acpi_device_id is there unconditionally, so drop useless ACPI_PTR() macro. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 725d1c8 commit 1c4aac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pinctrl/qcom/pinctrl-qdf2xxx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ MODULE_DEVICE_TABLE(acpi, qdf2xxx_acpi_ids);
142142
static struct platform_driver qdf2xxx_pinctrl_driver = {
143143
.driver = {
144144
.name = "qdf2xxx-pinctrl",
145-
.acpi_match_table = ACPI_PTR(qdf2xxx_acpi_ids),
145+
.acpi_match_table = qdf2xxx_acpi_ids,
146146
},
147147
.probe = qdf2xxx_pinctrl_probe,
148148
.remove = msm_pinctrl_remove,

0 commit comments

Comments
 (0)