Thread (14 messages) 14 messages, 6 authors, 2021-01-27

Re: [PATCH v2 1/6] media: renesas-ceu: Use of_device_get_match_data()

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2021-01-25 08:59:26
Also in: linux-media, linux-renesas-soc, lkml

On Sat, Jan 23, 2021 at 4:44 AM Stephen Boyd [off-list ref] wrote:
This driver can use the replacement API instead of calling
of_match_device() and then dereferencing the pointer that is returned.
This nicely avoids referencing the match table when it is undefined with
configurations where CONFIG_OF=n.

Signed-off-by: Stephen Boyd <redacted>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help