staging: kpc2000: Change to use DIV_ROUND_UP
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Wed, 29 May 2019 13:11:53 +0000 (18:41 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2019 21:02:52 +0000 (14:02 -0700)
commit4a932d90b1541a0862be61371658b8f28b3b792e
tree79faf509ac7bfe14841298472a98c584a49c2b36
parent1d14a95b5839cfd3b50687b6c309d8c1986bf643
staging: kpc2000: Change to use DIV_ROUND_UP

Use macro DIV_ROUND_UP instead of an equivalent sequence of operations.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc_dma/fileops.c