greybus: define GB_OP_NONEXISTENT
authorAlex Elder <elder@linaro.org>
Wed, 10 Dec 2014 14:43:33 +0000 (08:43 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 10 Dec 2014 15:36:29 +0000 (10:36 -0500)
commitaa26351d0bb5b3ecf9bccacc9b05209b3d2af8ca
treeba6b0df4304ded2bd32a029a22ab953ad1b011dd
parent5f474d49436134e0f36d7bc3fb10babebc5e824f
greybus: define GB_OP_NONEXISTENT

The i2c protocol needs a way to indicate an i2c device doesn't exist
(which is not necessarily an error).  Define GB_OP_NONEXISTENT to
indicate this, and updating the status<->errno mapping functions
accordingly.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/operation.c
drivers/staging/greybus/operation.h