u-boot-brain/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 devres: add debug command to dump device resources 2015-08-06 07:44:29 -06:00
dump.c dm: Move the tree/uclass dump code into its own file 2015-07-21 17:39:22 -06:00
Kconfig spl: dm: Add SPL_DM_SEQ_ALIAS config option 2016-01-13 13:20:02 +01:00
lists.c dm: core: allow drivers to refuse to bind 2016-05-17 09:54:43 -06:00
Makefile dm: core: Add SPL Kconfig for REGMAP and SYSCON 2015-12-01 08:07:22 -07:00
regmap.c dm: Add support for register maps (regmap) 2015-07-21 17:39:23 -06:00
root.c dm: core: Add option to configure an offset for the address translation 2016-01-12 10:19:09 -07:00
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 dm: core: Add uclass_first_device_err() to return a valid device 2016-03-14 15:34:50 -06:00
util.c dm: Add base driver model support 2014-03-04 12:15:29 -05:00