mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-09-18 23:09:29 +02:00
Replace sequences of of_machine_is_compatible() calls by single calls to the of_machine_compatible_match() helper, to simplify the code, and to reduce code size. Note that this does have a slight performance impact on matching platforms: while the C sequences terminated evaluation after a match, (internal) of_device_compatible_match() calculates a matching score, and thus always checks against all passed compatible values. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/2230eb28da9b8d8bdee4e4fd7e19dc8f074531bc.1780499233.git.geert+renesas@glider.be