staging: ks7010: rewrite hif_align_size inline function
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 6 Apr 2018 12:37:43 +0000 (14:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:27:35 +0000 (14:27 +0200)
commit5401fcbe298590f401da5f4dfc563dead4171ee5
tree32c4263400aa5b989209bd7cda2e4d1e8e913592
parentf6eb1fee19806d07e85a3fcbe4a7e6ceab93fa4b
staging: ks7010: rewrite hif_align_size inline function

This commit rewrites hif_align_size inline function to
improve readability. It also change parameters and return
type from int to size_t which is the correct and the one
which is being used when this function is called from
several points of the code.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.h