[PATCH v3 2/3] gpio: creg-snps: Simplify with device_get_match_data()
Linus Walleij
linusw at kernel.org
Fri Jan 2 09:36:55 AEDT 2026
On Fri, Dec 19, 2025 at 1:13 PM Krzysztof Kozlowski
<krzysztof.kozlowski at oss.qualcomm.com> 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 at oss.qualcomm.com>
Reviewed-by: Linus Walleij <linusw at kernel.org>
Yours,
Linus Walleij
More information about the Linux-aspeed
mailing list