From 030611ecc5d8b1daf8de110600c8771de45d398d Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Thu, 13 Nov 2014 14:32:06 +0100 Subject: [PATCH] drm/tegra: dsi: Replace 1000000 by USEC_PER_SEC Using the symbolic constant instantly provides a lot more context. Signed-off-by: Thierry Reding --- drivers/gpu/drm/tegra/dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tegra/dsi.c b/drivers/gpu/drm/tegra/dsi.c index 2f12258ecd7..8940360ccc9 100644 --- a/drivers/gpu/drm/tegra/dsi.c +++ b/drivers/gpu/drm/tegra/dsi.c @@ -820,7 +820,7 @@ static int tegra_output_dsi_setup_clock(struct tegra_output *output, /* * Compute bit clock and round up to the next MHz. */ - plld = DIV_ROUND_UP(bclk * 8, 1000000) * 1000000; + plld = DIV_ROUND_UP(bclk * 8, USEC_PER_SEC) * USEC_PER_SEC; /* * We divide the frequency by two here, but we make up for that by -- 2.46.0