greybus: svc: use EREMOTEIO for remote errors
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 19 May 2016 14:20:16 +0000 (16:20 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 20 May 2016 23:36:43 +0000 (16:36 -0700)
commit4aea5a15ad6d8fbd9d344a84c0396176e7512d3d
tree0594473e09712d071ee5d91422bc63ea5e942130
parentdeda6aaf666706346866b7d828098ba9bacfb742
greybus: svc: use EREMOTEIO for remote errors

Return -EREMOTEIO consistently for unspecified remote errors (e.g. a
failed DME attribute read due to a remote UniPro error).

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/svc.c