]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec91071210c47ba3e8e6cb6097cbbdc3d1275663
tree586380c6835dba92acf05ec8273f0143227976b6
parent5433ff9d93bb5e2a3bc01f01e40a20421075b23e
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