misc: fs_loader: Switching private data allocation to DM auto allocation
authorTien Fong Chee <tien.fong.chee@intel.com>
Mon, 10 Dec 2018 13:29:44 +0000 (21:29 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 15 Jan 2019 20:28:54 +0000 (15:28 -0500)
commit31a2cf1ca4968dcaf78aef222b6683fea4f2c72d
tree930f867931e7b64be15f5b11ad71e369c952e896
parent9652cfd9ee5679b72f28d581d7d48916f8031937
misc: fs_loader: Switching private data allocation to DM auto allocation

Switching private data manual allocation to driver model auto allocation
so users no longer need to deallocate themself because this would be
deallocated by driver model when the device is no longer required.

Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
doc/driver-model/fs_firmware_loader.txt
drivers/misc/fs_loader.c
include/fs_loader.h