Skip to content
Snippets Groups Projects
Commit 5a87c417 authored by Simon Glass's avatar Simon Glass
Browse files

dm: core: Drop device removal error path when not supported


When CONFIG_DM_DEVICE_REMOVE is not enabled, such as in SPL, we cannot
remove or unbind devices and do not expect to get errors when binding
and probing devices. So drop the error path to reduce code size.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 66312374
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment