]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba9b6cf43ab40fdba582416d782c229646d7031f
tree79faf509ac7bfe14841298472a98c584a49c2b36
parentc23a3271cd933b69e5bcd876f120faaec1d5c680
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