projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
usb: ehci-atmel: Remove unnecessary clock calling
[oweals/u-boot.git]
/
drivers
/
core
/
device-remove.c
diff --git
a/drivers/core/device-remove.c
b/drivers/core/device-remove.c
index 0e56b23fbbf44b059b6e38afd1c8366ee245e764..a7f77b4a21dc33efbdc62b2983de5fb970cd8979 100644
(file)
--- a/
drivers/core/device-remove.c
+++ b/
drivers/core/device-remove.c
@@
-112,7
+112,7
@@
int device_unbind(struct udevice *dev)
devres_release_all(dev);
- if (dev->flags & DM_NAME_ALLOCED)
+ if (dev->flags & DM_
FLAG_
NAME_ALLOCED)
free((char *)dev->name);
free(dev);