]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: blk: Free the block device name when unbound
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 19:52:24 +0000 (13:52 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
commitd0773524e18d2439390c88611b49f23ca46a82be
tree4ea731d6d308274da626e7b4e8274d0c84c50a85
parenta2040facd23b88082b9b40f0aa9bcfd495eab88e
dm: blk: Free the block device name when unbound

Mark the device name as allocated so that it will be freed correctly when the
device is unbound.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/block/blk-uclass.c