From 4225f2f520f2557fb671e1aa02f9ef8090491be5 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 11 Aug 2020 11:23:41 -0600 Subject: stdio: Tidy up the coding style Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass --- include/stdio_dev.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/stdio_dev.h') diff --git a/include/stdio_dev.h b/include/stdio_dev.h index b61c0c6..48871a6 100644 --- a/include/stdio_dev.h +++ b/include/stdio_dev.h @@ -84,6 +84,15 @@ int stdio_init(void); void stdio_print_current_devices(void); int stdio_deregister(const char *devname, int force); + +/** + * stdio_deregister_dev() - deregister the device "devname". + * + * @dev: Stdio device to deregister + * @force: true to force deregistration even if in use + * + * returns 0 on success, -EBUSY if device is assigned + */ int stdio_deregister_dev(struct stdio_dev *dev, int force); struct list_head *stdio_get_list(void); struct stdio_dev *stdio_get_by_name(const char *name); -- cgit v1.1