[U-Boot] [RFC PATCH 13/22] stdio: Provide functions to add/remove devices using stdio_dev

Marek Vasut
2014-06-01T17:37:15Z

On Saturday, May 24, 2014 at 11:21:12 PM, Simon Glass wrote:
> 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>

I think we should use errno.h and not return -1 all around.

Other than that:
Acked-by: Marek Vasut <marex@denx.de>

Best regards,
Marek Vasut