summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAchin Gupta <achin.gupta@arm.com>2015-11-04 22:32:50 +0000
committerAchin Gupta <achin.gupta@arm.com>2015-11-04 22:32:50 +0000
commit135c9ddd36d326fc03983599fa2bcbfd15ff9afe (patch)
tree129c2b98dab58b812f91c62bf4013ca0cb0d2215 /include
parentdd64d425a3df702dbe899538a6d8b8e61226722c (diff)
parente098e244a25017d8298d63a8bf04e9151b52ac3a (diff)
Merge pull request #423 from jcastillo-arm/jc/genfw/1211
Remove deprecated IO return definitions
Diffstat (limited to 'include')
-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 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,