Commit f3151e00 authored by Rehas Sachdeva's avatar Rehas Sachdeva Committed by Greg Kroah-Hartman

staging: sm750fb: Use BIT(x) macro

Replaces left shift operation (1 << d) by BIT(x) macro.
Signed-off-by: default avatarRehas Sachdeva <aquannie@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cf5d3273
......@@ -349,7 +349,7 @@ unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
fl_quo = (rem * 10000 / input);
for (d = max_d; d >= 0; d--) {
X = (1 << d);
X = BIT(d);
M = quo * X;
M += fl_quo * X / 10000;
/* round step */
......
Markdown is supported
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