commit | df34d0b3b87d66d0cacbd41dcd7cd9a0fc232238 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Jan 24 14:32:45 2021 -0700 |
committer | Simon Glass <sjg@chromium.org> | Wed Feb 03 03:38:41 2021 -0700 |
tree | 419e3d4ec2f5dd7a95640e1d51472df9d678105b | |
parent | 6dd0d1d7fff3caba92233ad8765faa26ff1ca28b [diff] |
dm: core: Avoid partially removing devices At present if device_remove() decides that the device should not actually be removed, it still calls the uclass pre_remove() method and powers the device down. Signed-off-by: Simon Glass <sjg@chromium.org>