Home
last modified time | relevance | path

Searched hist:a2040facd23b88082b9b40f0aa9bcfd495eab88e (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/drivers/core/
H A Ddevice-remove.ca2040facd23b88082b9b40f0aa9bcfd495eab88e 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 Ddevice.ca2040facd23b88082b9b40f0aa9bcfd495eab88e 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 Ddevice.ha2040facd23b88082b9b40f0aa9bcfd495eab88e 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>