UPSTREAM: 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 Bug: 339841691 (cherry picked from commit cefdb366) Change-Id: I7d1369fd45bf3aeb4d2bacf4da51b9955185e296 Signed-off-by:
Zhipeng Wang <zhipeng.wang_1@nxp.com>
Loading
Please sign in to comment