u-boot-2016/drivers/core
Simon Glass a2040facd2 dm: core: Allow device names to be freed automatically
Some devices have a name that is stored in allocated memory. At present
there is no mechanism to free this memory when the device is unbound.

Add a device flag to track whether a name is allocated and a function to
add the flag. Free the memory when the device is unbound.

Signed-off-by: Simon Glass <sjg@chromium.org>
2016-05-17 09:54:43 -06:00
..
device-remove.c dm: core: Allow device names to be freed automatically 2016-05-17 09:54:43 -06:00
device.c dm: core: Allow device names to be freed automatically 2016-05-17 09:54:43 -06:00
devres.c
dump.c
Kconfig
lists.c dm: core: allow drivers to refuse to bind 2016-05-17 09:54:43 -06:00
Makefile
regmap.c
root.c
simple-bus.c dm: core: make simple-bus compatible to simple-mfd 2016-03-14 15:34:50 -06:00
syscon-uclass.c syscon: Avoid returning a device on failure 2016-03-17 10:27:24 +08:00
uclass.c
util.c