summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2023-04-13 17:16:11 +0200
committerSimon Glass <[email protected]>2023-04-28 11:48:09 -0600
commit6ebb357a6a16fe4b61fae3866f80b967e8231f7e (patch)
tree0e3176b7d2230b5d7dd6ccaa93a64a0cdf96ea59 /include/linux/string.h
parent763f0a1f0d2b3ee0b3f7248dee874c3e65e93345 (diff)
uclass: add uclass_find_device_by_phandle_id() helper
The functions uclass_find_device_by_phandle() and uclass_get_device_by_phandle_id() both loop over a given uclass looking for a device with a given phandle. Factor that out to a common helper. For now, there are no (known potential) users of the new helper outside uclass.c, so make it static. Signed-off-by: Rasmus Villemoes <[email protected]> Reviewed-by: Simon Glass <[email protected]> Fix warning on sandbox_spl; fix code style: Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions