Skip to content
Commit 90241fb9 authored by Laxman Dewangan's avatar Laxman Dewangan Committed by Thierry Reding
Browse files

pwm: tegra: Use DIV_ROUND_CLOSEST_ULL() instead of local implementation



Use macro DIV_ROUND_CLOSEST_ULL() for 64-bit division to closest one
instead of implementing the same locally. This increase readability.

Signed-off-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent caf065f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment