Re: [PATCH v3 1/3] gpio: aspeed: Simplify with device_get_match_data()
From: Linus Walleij
Date: Thu Jan 01 2026 - 17:37:04 EST
On Fri, Dec 19, 2025 at 1:13 PM Krzysztof Kozlowski
<krzysztof.kozlowski@xxxxxxxxxxxxxxxx> 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 device_get_match_data().
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>
Yours,
Linus Walleij