greybus: bundle: create GB_DEVICE_ID_BAD
authorGreg Kroah-Hartman <greg@kroah.com>
Wed, 24 Dec 2014 21:01:39 +0000 (13:01 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 2 Jan 2015 21:05:42 +0000 (13:05 -0800)
commit1b6ea0db016941a0919c17839c1772cceb1955c1
treeeea1e5a489959bc5ba83a4205dfe36297f8ca441
parent900ceba9e480f49bb8fef688994b4fbdb1688b77
greybus: bundle: create GB_DEVICE_ID_BAD

Use a "name" for when we don't have a valid device id yet, instead of a
magic value of 0xff.

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