greybus: es2: always set result value
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 3 Aug 2016 12:09:32 +0000 (14:09 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 3 Aug 2016 13:42:38 +0000 (15:42 +0200)
commit4ae2d962637e4a002d1f0884dceec800c79b3ea4
treea193375566df24554a44c4964a1dc1c5d89a7a35
parentc468999e6acd3e8330db7d18dca320f8b21bf074
greybus: es2: always set result value

Make sure to always set the result value for ARPC instead of forcing
every caller to do it in order to avoid compiler warnings.

The ARPC result should still be ignored unless arpc_sync returns
-EREMOTEIO.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/es2.c