diff options
author | Steve Longerbeam <slongerbeam@gmail.com> | 2014-12-18 18:00:26 -0800 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2015-01-07 19:15:04 +0100 |
commit | 503f1631ae8f42a386193c92cc4488d35978352e (patch) | |
tree | f90982a4e002c56599a7693270d6f035991297dc /drivers/gpu/drm/imx/imx-drm-core.c | |
parent | b6835a719aaa5ee6f493c94cb8b1ff9ad13f5a18 (diff) |
gpu: ipu-di: Switch to DIV_ROUND_CLOSEST for DI clock divider calc
We can use the DIV_ROUND_CLOSEST() macro when calculating the DI
clock divider, rounded to nearest int.
Suggested-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/imx/imx-drm-core.c')
0 files changed, 0 insertions, 0 deletions