greybus: loopback: use a 32-bit count
authorAlex Elder <elder@linaro.org>
Mon, 3 Aug 2015 17:57:15 +0000 (12:57 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 4 Aug 2015 03:11:49 +0000 (20:11 -0700)
commite13fc28f728ae6aa5e72c90a35d4fb0298205c6c
tree5550e548887178f68033c7b0d22fe6258ff807e1
parente051c82b2ba7fb3e237595c4f6d106e04a86baa1
greybus: loopback: use a 32-bit count

The count of statistical samples recorded is currently a 64-bit
value.  32 bits is sufficient, and in fact anything more than
that won't work for the do_div() call it's pass to anyway.  So make
the count field be 32 bits.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/loopback.c