From e098e244a25017d8298d63a8bf04e9151b52ac3a Mon Sep 17 00:00:00 2001 From: Juan Castillo Date: Mon, 2 Nov 2015 10:47:01 +0000 Subject: Remove deprecated IO return definitions Patch 7e26fe1f deprecates IO specific return definitions in favour of standard errno codes. This patch removes those definitions and its usage from the IO framework, IO drivers and IO platform layer. Following this patch, standard errno codes must be used when checking the return value of an IO function. Change-Id: Id6e0e9d0a7daf15a81ec598cf74de83d5768650f --- include/drivers/io/io_storage.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include') diff --git a/include/drivers/io/io_storage.h b/include/drivers/io/io_storage.h index 4c3526ef..970ab2cd 100644 --- a/include/drivers/io/io_storage.h +++ b/include/drivers/io/io_storage.h @@ -89,15 +89,6 @@ typedef struct io_block_spec { #define IO_MODE_RW (1 << 1) -/* Return codes reported by 'io_*' APIs. - * IMPORTANT: these definitions are deprecated. Callers should use standard - * errno definitions when checking the return value of io_* APIs. */ -#define IO_SUCCESS (0) -#define IO_FAIL (-ENOENT) -#define IO_NOT_SUPPORTED (-ENODEV) -#define IO_RESOURCES_EXHAUSTED (-ENOMEM) - - /* Open a connection to a device */ int io_dev_open(const struct io_dev_connector *dev_con, const uintptr_t dev_spec, -- cgit