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

2021-01-25 Thread Geert Uytterhoeven
On Sat, Jan 23, 2021 at 4:44 AM Stephen Boyd 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.

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

2021-01-22 Thread Stephen Boyd
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 Acked-by: Mauro Carvalho Chehab