diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-01 13:52:23 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-17 09:54:43 -0600 |
commit | a2040facd23b88082b9b40f0aa9bcfd495eab88e (patch) | |
tree | adc314cd94f8a10e4ac5bb228ae8d98c1b54fead /Kconfig | |
parent | 72a85c0d2dfe965c831670f06d3803aaad7bb5b1 (diff) | |
download | u-boot-imx-a2040facd23b88082b9b40f0aa9bcfd495eab88e.zip u-boot-imx-a2040facd23b88082b9b40f0aa9bcfd495eab88e.tar.gz u-boot-imx-a2040facd23b88082b9b40f0aa9bcfd495eab88e.tar.bz2 |
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>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions