Thread (9 messages) 9 messages, 4 authors, 2026-01-01

Re: [PATCH v2 2/3] gpio: creg-snps: Simplify with of_device_get_match_data()

From: Linus Walleij <linusw@kernel.org>
Date: 2026-01-01 22:35:52
Also in: linux-arm-kernel, linux-gpio, lkml

On Fri, Dec 19, 2025 at 11:12 AM Krzysztof Kozlowski
[off-list ref] wrote:
Driver's probe function matches against driver's of_device_id table,
where each entry has non-NULL match data, so of_match_node() can be
simplified with of_device_get_match_data().

Signed-off-by: Krzysztof Kozlowski <redacted>
Reviewed-by: Linus Walleij <linusw@kernel.org>

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help