Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 369bc65b authored by Thierry Reding's avatar Thierry Reding
Browse files

drm/tegra: dsi: Replace 1000000000UL by NSEC_PER_SEC



Using the symbolic constant instantly provides a lot more context.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 0fffdf6c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -349,7 +349,7 @@ static int tegra_dsi_set_phy_timing(struct tegra_dsi *dsi)
	if (rate < 0)
		return rate;

	period = DIV_ROUND_CLOSEST(1000000000UL, rate * 2);
	period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, rate * 2);

	err = mipi_dphy_timing_get_default(&timing, period);
	if (err < 0)