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

Marek Vasut marex at denx.de
Sun Jun 1 19:37:15 CEST 2014


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 at chromium.org>

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

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

Best regards,
Marek Vasut


More information about the U-Boot mailing list