staging: sm750fb: replace twoToPowerOfx with shift operator
authorMike Rapoport <mike.rapoport@gmail.com>
Sun, 27 Sep 2015 13:25:43 +0000 (16:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:16:31 +0000 (04:16 +0200)
commit174f2642349da542eb27c011e67a147773d8721f
tree51881eed31fced251cd5cc147733e906f01b3d0d
parente967d336ee1a01ced24907ead6cd93dc4f097bed
staging: sm750fb: replace twoToPowerOfx with shift operator

The function twoToPowerOfx that iteratively calculates the power of 2
may be replaced with shift operator

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_chip.c