aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2023-12-14 10:31:50 +0000
committerMichael Ellerman <[email protected]>2024-03-03 11:20:29 +0000
commit1ac8205f907517a306b661212496fedce79d7cc5 (patch)
tree0a5bb5238b154f06be8fcd282c04e8f69d159f27 /drivers/usb/cdns3/cdns3-pci-wrap.c
parentof: Change of_machine_is_compatible() to return bool (diff)
downloadkernel-1ac8205f907517a306b661212496fedce79d7cc5.tar.gz
kernel-1ac8205f907517a306b661212496fedce79d7cc5.zip
of: Reimplement of_machine_is_compatible() using of_machine_compatible_match()
of_machine_compatible_match() works with a table of strings. of_machine_is_compatible() is a simplier version with only one string. Re-implement of_machine_is_compatible() by setting a table of strings with a single string then using of_machine_compatible_match(). Suggested-by: Rob Herring <[email protected]> Signed-off-by: Christophe Leroy <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions