staging: sm750fb: Use BIT(x) macro
Subsystems (2)
PATCH 1/1 staging: sm750fb: Use BIT(x) macro
Replaces left shift operation (1 << d) by BIT(x) macro.
Signed-off-by Rehas Sachdeva <[email protected]>
--- drivers/staging/sm750fb/ddk750_chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/sm750fb/ddk750_chip.c +1 -1
@@ -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 */
Signature · 1 line
2.7.4