From: Maxime Ripard Date: Tue, 1 Jul 2014 09:33:16 +0000 (+0200) Subject: ARM: at91: PIT: Use DIV_ROUND_CLOSEST to compute the cycles X-Git-Tag: fixes-for-v3.18-merge-window~3^2~11^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d7fdbe23c990a843177e3bff9a093d2f5fa4e02;p=pandora-kernel.git ARM: at91: PIT: Use DIV_ROUND_CLOSEST to compute the cycles Until now, the pit_cycle computation was dividing the rate by HZ, rounding to the closest integer, but without using the appropriate macro. Signed-off-by: Maxime Ripard Acked-by: Boris BREZILLON Acked-by: Alexandre Belloni Acked-by: Daniel Lezcano Signed-off-by: Nicolas Ferre --- Reading git-diff-tree failed