greybus: explicitly mark cookies as opaque
authorAlex Elder <elder@linaro.org>
Wed, 19 Nov 2014 18:27:13 +0000 (12:27 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 19 Nov 2014 18:41:12 +0000 (10:41 -0800)
commit2292bac5e76846387152d1d20b10cb79f8c1b14b
treeb90209902af0c3162bc87b4b26436bc369aea42a
parentc002b0ec60c5d7acc8cc7af88ed6845f3e656fc7
greybus: explicitly mark cookies as opaque

Use simple macros to mark the conversion of an URB pointer into an
opaque cookie value (and vice-versa).  We scramble some bits, but
the main point is to make it explicit where we're returning and
using opaque values.

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