]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pinctrl: tb10x: Drop of_match_ptr for ID table
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 1 Jun 2025 10:51:01 +0000 (12:51 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 9 Jun 2025 08:16:46 +0000 (10:16 +0200)
commit24b0277c1c539cd41539d9297baafc62df04464a
treee91f85e4be56c1246a03f144ed2d3b1ebaa101e7
parentd38e00c417e1ca0c586802e47ad7d54347c91f67
pinctrl: tb10x: Drop of_match_ptr for ID table

The driver can match only via the DT table so the table should be always
used and the of_match_ptr does not have any sense (this also allows ACPI
matching via PRP0001, even though it might not be relevant here).  This
also fixes !CONFIG_OF warning:

  pinctrl-tb10x.c:815:34: warning: unused variable 'tb10x_pinctrl_dt_ids' [-Wunused-const-variable]

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505301317.EI1caRC0-lkp@intel.com/
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/20250601105100.27927-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-tb10x.c