greybus: es2: allow ARPC result to be ignored
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 3 Aug 2016 12:09:33 +0000 (14:09 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 3 Aug 2016 13:42:38 +0000 (15:42 +0200)
commit121bae2bec47a9944049f2583b1d31f479110f0f
tree62c57f5952002946f693cb04dfbb45461c359ae7
parent4ae2d962637e4a002d1f0884dceec800c79b3ea4
greybus: es2: allow ARPC result to be ignored

Allow user of ARPC to pass a NULL pointer for the ARPC result.

For simple requests there may only be one error code for remote errors,
or the caller may simply not care to differentiate them.

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