diff options
| author | Michael Ellerman <[email protected]> | 2023-12-14 10:31:49 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2024-03-03 11:20:29 +0000 |
| commit | cefdb366dcbe97908b6055595a15bf7689556bf8 (patch) | |
| tree | 87a5e2ef90adc154372ca5a59bd87491a817a96b /drivers/usb/cdns3/cdns3-pci-wrap.c | |
| parent | of: Add of_machine_compatible_match() (diff) | |
| download | kernel-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
