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 Signed-off-by: Greg Kroah-Hartman
ToDo list (incomplete, unordered) - add compile as module support - move half of the nvec init stuff to i2c-tegra.c - move event handling to nvec_events - finish suspend/resume support - add support for more device implementations