Allow device parameters for devices with dots in name
Devices can have a dot in the name, so we can't expect to find the
full device name before the first dot. Currently parameters of devices
with a dot in the name are inaccessible from the shell.
Fix this by iterating over the possible device name / parameter name
combinations to find a existing combination.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 098635d commit f5d77d80f569b0c2f8e7aec39f61ebc66d20b4ba
@Sascha Hauer Sascha Hauer authored on 7 Oct 2016
Showing 1 changed file
View
common/env.c