Staging: nvec: Modify the nvec_write_sync method to return the error code
authorTomás Tormo <tomas.tormo@gmail.com>
Sun, 14 Feb 2016 19:30:56 +0000 (20:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 00:52:15 +0000 (16:52 -0800)
commit73b37c91ac5f31c296220bb20dabb881c80b4222
treef20e583bf6bfe8ab9ade400c82d0899706371750
parentbb778553d491b65310b83c55274a2f09912d47a1
Staging: nvec: Modify the nvec_write_sync method to return the error code

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 <tomas.tormo@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/TODO
drivers/staging/nvec/nvec.c
drivers/staging/nvec/nvec.h