diff options
author | Simon Glass <sjg@chromium.org> | 2021-01-24 14:32:42 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-02-03 03:38:41 -0700 |
commit | a547fcb82880f89d9fdac218308b66e28d3e1481 (patch) | |
tree | 2ed509aa67a3b79e6ef124c505094a42507b7859 /drivers/core | |
parent | f724f0af2b5f9d2d17caa3b76cf58574788d8515 (diff) | |
download | u-boot-a547fcb82880f89d9fdac218308b66e28d3e1481.tar.gz u-boot-a547fcb82880f89d9fdac218308b66e28d3e1481.tar.bz2 u-boot-a547fcb82880f89d9fdac218308b66e28d3e1481.zip |
dm: Rename DM_FLAG_REMOVE_WITH_PD_ON
This flag has the word 'REMOVE' in it which means it conflicts with
the DM_REMOVE flags. Rename it to DM_FLAG_LEAVE_PD_ON which seems to
indicate its purpose well enough.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/core')
-rw-r--r-- | drivers/core/device-remove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/core/device-remove.c b/drivers/core/device-remove.c index 7e8f3afb2d..7874d53c84 100644 --- a/drivers/core/device-remove.c +++ b/drivers/core/device-remove.c @@ -200,7 +200,7 @@ int device_remove(struct udevice *dev, uint flags) if (!(flags & DM_REMOVE_NO_PD) && !(drv->flags & - (DM_FLAG_DEFAULT_PD_CTRL_OFF | DM_FLAG_REMOVE_WITH_PD_ON)) && + (DM_FLAG_DEFAULT_PD_CTRL_OFF | DM_FLAG_LEAVE_PD_ON)) && dev != gd->cur_serial_dev) dev_power_domain_off(dev); |