]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33b3f7a9d7b949e6eb4bd2077c49e3ae2829cc44
tree51881eed31fced251cd5cc147733e906f01b3d0d
parentd95d57976666b52090f9b0d4d03e4a53a0fca7c3
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