iio: buffer: Use roundup() instead of open-coding it
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 17 Jul 2014 15:59:00 +0000 (16:59 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 27 Jul 2014 18:13:08 +0000 (19:13 +0100)
commit61072dbc8a017039059ec0e94548e4ba31602893
tree586380c6835dba92acf05ec8273f0143227976b6
parent7ddebf54292052898dd0cf3925d113e3527608a7
iio: buffer: Use roundup() instead of open-coding it

Makes the code slightly shorter and a bit easier to understand.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/industrialio-buffer.c
This page took 0.024306 seconds and 5 git commands to generate.