of: port Linux of_get_compatible_child helper
Incoming Linux code port makes use of the helper. Add it now instead of
having to open-code it later.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b2e6ed0 commit e9823e711b80a2f7a3eb0f9b592f7b15e597898e
@Ahmad Fatoum Ahmad Fatoum authored on 13 Apr 2020
Sascha Hauer committed on 15 Apr 2020
Showing 2 changed files
View
drivers/of/base.c
View
include/of.h