commit | 5d609ce5927f37b1e7c772b5f244edcd13291f85 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jul 23 06:55:05 2014 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Jul 23 14:07:24 2014 +0100 |
tree | 44a7cfa571285634c77e12fe5486933f404fca0a | |
parent | a730c5d72856cfb2d792721cd6c2759137d5a58b [diff] |
stdio: Provide functions to add/remove devices using stdio_dev The current functions for adding and removing devices require a device name. This is not convenient for driver model, which wants to store a pointer to the relevant device. Add new functions which provide this feature and adjust the old ones to call these. Signed-off-by: Simon Glass <sjg@chromium.org>