diff options
author | Simon Glass <sjg@chromium.org> | 2024-10-19 09:21:49 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-11-03 21:27:12 -0600 |
commit | 79b3e9d25b3f96fdf66f9d7dc6a14fdce9a15f93 (patch) | |
tree | 60492674ad4706c755befa65e5ccfe9250a17c86 /lib/mbedtls/mscode_parser.c | |
parent | 2ca32cbb837ff0a1e906a99c518a03852e1d24e8 (diff) |
dm: core: Add a function to see if a device exists
All the uclass functions for finding a device end up creating a uclass
if it doesn't exist. Add a function which instead returns NULL in this
case.
This is useful when in the 'unbind' path, since we don't want to undo
any unbinding which has already happened.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/mbedtls/mscode_parser.c')
0 files changed, 0 insertions, 0 deletions