aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2023-12-14 10:31:49 +0000
committerMichael Ellerman <[email protected]>2024-03-03 11:20:29 +0000
commitcefdb366dcbe97908b6055595a15bf7689556bf8 (patch)
tree87a5e2ef90adc154372ca5a59bd87491a817a96b /drivers/usb/cdns3/cdns3-pci-wrap.c
parentof: Add of_machine_compatible_match() (diff)
downloadkernel-cefdb366dcbe97908b6055595a15bf7689556bf8.tar.gz
kernel-cefdb366dcbe97908b6055595a15bf7689556bf8.zip
of: Change of_machine_is_compatible() to return bool
of_machine_is_compatible() currently returns a positive integer if it finds a match. However none of the callers ever check the value, they all treat it as a true/false. So change of_machine_is_compatible() to return bool, which will allow the implementation to be changed in a subsequent patch. Suggested-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