greybus: get rid of a compile warning
authorAlex Elder <elder@linaro.org>
Thu, 14 Jul 2016 19:24:18 +0000 (14:24 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 15 Jul 2016 00:14:27 +0000 (09:14 +0900)
commit99ade1766dbd11652905ec91219a643992cb3c18
tree60f6289fb6df21b7fa23fa832882c0b8e4b01ad7
parente854ff58ed7011f73c7cdfcb7966ffa9c103571e
greybus: get rid of a compile warning

The compiler has no way of knowing whether a called function will
actually assign something to the object whose address is passed as
an argument.  So it must assume it won't happen, and this leads to a
compile warning.  Fix this.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/es2.c