greybus: svc: fix pwrmon return value
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 21 Apr 2016 09:43:37 +0000 (11:43 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 21 Apr 2016 11:19:33 +0000 (20:19 +0900)
commit5b35ef95ef9b71406db3fe860b8ce8206b6576c7
tree63fe3dc12e4127e285c0e2be256d37e9862d7005
parent89f2df438b20f2176fcc8fc92201a708f0d3659b
greybus: svc: fix pwrmon return value

Errno -ENOSYS is reserved for missing syscalls, replace it with ENOMSG.

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