]> 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)
commit33d50e8036d3b5e8b863a7f4b3a9e83a3a8a7b60
tree586380c6835dba92acf05ec8273f0143227976b6
parent38531ab4ff45ae79597ac5a9afc195e317e90288
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