Re: [PATCH v1 2/4] of: Reimplement of_machine_is_compatible() using of_machine_compatible_match()

2023-12-07 Thread Rob Herring
On Wed, Dec 06, 2023 at 05:13:33PM +0100, Christophe Leroy wrote: > of_machine_compatible_match() works with a table of strings. > of_machine_is_compatible() is a simplier version with only one string. > > Re-implement of_machine_is_compatible() by setting a table of strings > with a single

[PATCH v1 2/4] of: Reimplement of_machine_is_compatible() using of_machine_compatible_match()

2023-12-06 Thread Christophe Leroy
of_machine_compatible_match() works with a table of strings. of_machine_is_compatible() is a simplier version with only one string. Re-implement of_machine_is_compatible() by setting a table of strings with a single string then using of_machine_compatible_match(). Suggested-by: Rob Herring