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

From: Geert Uytterhoeven
Date: Mon Jan 25 2021 - 03:59:27 EST


On Sat, Jan 23, 2021 at 4:44 AM Stephen Boyd <swboyd@xxxxxxxxxxxx> 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 <swboyd@xxxxxxxxxxxx>

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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