diff options
author | Stephen Boyd <[email protected]> | 2021-01-22 19:44:23 -0800 |
---|---|---|
committer | Rob Herring <[email protected]> | 2021-01-26 12:17:31 -0600 |
commit | a38f3fbc30ec28527aa7dd98d3f4ed24708e7818 (patch) | |
tree | 2e6908165b939ab96f33eb22c3daa4e37f429d71 /net/switchdev/switchdev.c | |
parent | cb18a7979a35f5f14cab49715e97efe7700fd349 (diff) |
media: renesas-ceu: Use of_device_get_match_data()
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 <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
Acked-by: Jacopo Mondi <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Jacopo Mondi <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Frank Rowand <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions