On 1 May 2016 at 13:52, Simon Glass <s...@chromium.org> wrote:
> 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 <s...@chromium.org>
> ---
>
> Changes in v2: None
>
>  drivers/core/device-remove.c |  2 ++
>  drivers/core/device.c        |  6 ++++++
>  include/dm/device.h          | 16 ++++++++++++++++
>  3 files changed, 24 insertions(+)

Applied to u-boot-dm.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to