of_device_is_stdout_path: split off options and support aliases
Several device trees use something like:

	stdout-path = "serial0:115200n8";

Currently of_device_is_stdout_path fails to do the right thing here
because it expects an absolute node path and no options. So split off
options (everything after the colon) and resolve aliases.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 0e193b6 commit 23522645b3b3d8366ab4307a0a0f0e9873e7bdb1
@Uwe Kleine-König Uwe Kleine-König authored on 14 Jun 2017
Sascha Hauer committed on 19 Jun 2017
Showing 1 changed file
View
drivers/of/base.c