greybus: define gb_operation_status_map()

Define a common function that maps an operation status value to a
Linux negative errno.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
Alex Elder 2014-11-19 17:55:04 -06:00 • committed by Greg Kroah-Hartman
commit bc717fcbf6
2 changed files with 31 additions and 0 deletions