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

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */