]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: rtd520: use DIV_ROUND_CLOSEST and DIV_ROUND_UP macros
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 25 Sep 2015 00:52:11 +0000 (17:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:32:22 +0000 (03:32 +0200)
commitda6877732d4d6f7264a6e719ddf50852bd33137a
tree5d56ffb29bf51bb1f75eebb1006daf5c5ea52459
parent640da603179c425c23f1df95f346ae132f52ea98
staging: comedi: rtd520: use DIV_ROUND_CLOSEST and DIV_ROUND_UP macros

Use the macros to clarify the divisor calculations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/rtd520.c