> The function twoToPowerOfx that iteratively caclulates the power of 2
> may be replaced with shift operator
calculates
> -inline unsigned int twoToPowerOfx(unsigned long x)
> -{
> - unsigned long i;
> - unsigned long result = 1;
> -
> - for (i = 1; i <= x; i++)
> - resul
The function twoToPowerOfx that iteratively caclulates the power of 2
may be replaced with shift operator
Signed-off-by: Mike Rapoport
---
drivers/staging/sm750fb/ddk750_chip.c | 17 +++--
1 file changed, 3 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/sm750fb/ddk750_c