i40iw: Use utility function roundup_pow_of_two()

Consolidate all power of 2 round calculations to
use kernel utility function roundup_pow_of_two().

Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
Shiraz Saleem 2017-12-22 09:46:55 -06:00 • committed by Jason Gunthorpe
commit 8758768ad8
3 changed files with 7 additions and 33 deletions