mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
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 <krzysztof.kozlowski@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20230601152026.1182648-1-krzysztof.kozlowski@linaro.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
725d1c8916
commit
1c4aac1739
@ -142,7 +142,7 @@ MODULE_DEVICE_TABLE(acpi, qdf2xxx_acpi_ids);
|
||||
static struct platform_driver qdf2xxx_pinctrl_driver = {
|
||||
.driver = {
|
||||
.name = "qdf2xxx-pinctrl",
|
||||
.acpi_match_table = ACPI_PTR(qdf2xxx_acpi_ids),
|
||||
.acpi_match_table = qdf2xxx_acpi_ids,
|
||||
},
|
||||
.probe = qdf2xxx_pinctrl_probe,
|
||||
.remove = msm_pinctrl_remove,
|
||||
|
Loading…
x
Reference in New Issue
Block a user