Skip to content
Commit d24daa42 authored by Leandro Pereira's avatar Leandro Pereira Committed by Andrew Boie
Browse files

kernel: Compare pointers before strings when getting device binding



Most calls to device_get_binding() will pass named constants generated
by Kconfig; these constants will all point to the same place, so
compare the pointer before attempting to match the whole string.

Signed-off-by: default avatarLeandro Pereira <leandro.pereira@intel.com>
parent 1d38d982
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment