From: H Hartley Sweeten Date: Wed, 21 Jan 2015 22:11:48 +0000 (-0700) Subject: staging: comedi: ni_labpc_common: use DIV_ROUND_CLOSEST to round divisor values X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~199 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b35759de976320229ec708c7fa57a62249833ab9;p=pandora-kernel.git staging: comedi: ni_labpc_common: use DIV_ROUND_CLOSEST to round divisor values Use the DIV_ROUND_CLOSEST macro to clarify the (((x) + ((divisor) / 2)) / (divisor)) calculations. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed