[PATCH] Staging: nvec: Modify the nvec_write_sync method to return the received message in a variable (and return the error code)

2016-02-14 Thread Tomás Tormo
Signed-off-by: Tomás Tormo --- drivers/staging/nvec/TODO | 2 -- drivers/staging/nvec/nvec.c | 34 +++--- drivers/staging/nvec/nvec.h | 5 +++-- 3 files changed, 22 insertions(+), 19 deletions(-) diff --git a/drivers/staging/nvec/TODO b/drivers/staging/nvec/TODO

[PATCH] Staging: nvec: Modify the nvec_write_sync method to return the error code

2016-02-14 Thread Tomás Tormo
Modify the nvec_write_sync function to return the error code instead of the received message. The received message is now returned as an output parameter. Signed-off-by: Tomás Tormo --- drivers/staging/nvec/TODO | 2 -- drivers/staging/nvec/nvec.c | 34