Searched hist:a2040facd23b88082b9b40f0aa9bcfd495eab88e (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/drivers/core/ |
| H A D | device-remove.c | a2040facd23b88082b9b40f0aa9bcfd495eab88e Sun May 01 19:52:23 UTC 2016 Simon Glass <sjg@chromium.org> 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>
|
| H A D | device.c | a2040facd23b88082b9b40f0aa9bcfd495eab88e Sun May 01 19:52:23 UTC 2016 Simon Glass <sjg@chromium.org> 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>
|
| /rk3399_rockchip-uboot/include/dm/ |
| H A D | device.h | a2040facd23b88082b9b40f0aa9bcfd495eab88e Sun May 01 19:52:23 UTC 2016 Simon Glass <sjg@chromium.org> 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>
|