Skip to content
Commit 83946282 authored by Allan Stephens's avatar Allan Stephens Committed by Anas Nashif
Browse files

init: Optimize device_get_binding()



Improves the efficiency of the search by doing a single pass through
all device objects, rather than searching one level at a time.
Also enhances the comments for this routine.

Change-Id: I6786f24381f03d74d8c559ccbd7aa6a37683a8b7
Signed-off-by: default avatarAllan Stephens <allan.stephens@windriver.com>
parent a860cb7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment