iio:st_pressure: align storagebits on power of 2
authorGregor Boirie <gregor.boirie@parrot.com>
Mon, 27 Jun 2016 10:38:53 +0000 (12:38 +0200)
committerJonathan Cameron <jic23@kernel.org>
Mon, 4 Jul 2016 17:11:07 +0000 (18:11 +0100)
commitc9d5e5b97e8723e20204b430edde2f3dc5f5c0cf
tree0c00f2d016f44f2f7cc1b3687d3864a75ff005c9
parente7385de5291e347f5bc85985acdce3a3f5096667
iio:st_pressure: align storagebits on power of 2

Sampled pressure data are 24 bits long and should be stored in a 32 bits
word.

Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/pressure/st_pressure_core.c