dm: core: Remove unnecessary codes in uclass_pre_remove_device()
authorBin Meng <bmeng.cn@gmail.com>
Thu, 8 Oct 2015 04:32:40 +0000 (21:32 -0700)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 29 Oct 2015 19:05:51 +0000 (14:05 -0500)
commit50dae85c713e11c52abf25dfd283db336257dbc5
tree86f3962745a830eb21a08bf78fd1f3ec590103cb
parent3f616b6053517927f564fc8ed6dc4a87bd39e857
dm: core: Remove unnecessary codes in uclass_pre_remove_device()

dev->uclass->uc_drv->per_device_auto_alloc_size is to be freed in
device_free(), so is dev->seq. Remove these unnecessary codes.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/core/uclass.c