aboutsummaryrefslogtreecommitdiffstats
path: root/include/drivers/io
diff options
context:
space:
mode:
authorJuan Castillo <juan.castillo@arm.com>2015-11-02 10:47:01 +0000
committerJuan Castillo <juan.castillo@arm.com>2015-11-02 10:47:01 +0000
commite098e244a25017d8298d63a8bf04e9151b52ac3a (patch)
tree9b6618d8dcdb604e8206b3104b60c71766a629f5 /include/drivers/io
parentf57e2db6ef4b86a6af57891a2d7a90266ad6c033 (diff)
downloadplatform_external_arm-trusted-firmware-e098e244a25017d8298d63a8bf04e9151b52ac3a.tar.gz
platform_external_arm-trusted-firmware-e098e244a25017d8298d63a8bf04e9151b52ac3a.tar.bz2
platform_external_arm-trusted-firmware-e098e244a25017d8298d63a8bf04e9151b52ac3a.zip
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
Diffstat (limited to 'include/drivers/io')
-rw-r--r--include/drivers/io/io_storage.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/drivers/io/io_storage.h b/include/drivers/io/io_storage.h
index 4c3526ef1..970ab2cd1 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,