diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2023-12-14 21:31:49 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2024-03-03 22:20:29 +1100 |
commit | cefdb366dcbe97908b6055595a15bf7689556bf8 (patch) | |
tree | 87a5e2ef90adc154372ca5a59bd87491a817a96b /drivers/clk/tegra/clk-device.c | |
parent | c029b22f8a98e14988f800d5c0176a9eaec3c8db (diff) |
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 <robh@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231214103152.12269-2-mpe@ellerman.id.au
Diffstat (limited to 'drivers/clk/tegra/clk-device.c')
0 files changed, 0 insertions, 0 deletions