linux/drivers/staging/most
Bhaktipriya Shridhar dce57aef61 staging: most: hdm-usb: Use macro DIV_ROUND_UP
The macro DIV_ROUND_UP performs the computation (((n) + (d) - 1) /(d)).
It clarifies the divisor calculations. This occurence was detected using the
coccinelle script:
@@
expression e1;
expression e2;
@@
(
- ((e1) + e2 - 1) / (e2)
+ DIV_ROUND_UP(e1,e2)
|
- ((e1) + (e2 - 1))/ (e2)
+ DIV_ROUND_UP(e1,e2)
)

The macro CEILING was dropped altogether and has been replaced with
DIV_ROUND_UP.

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-25 22:35:10 -08:00
..
aim-cdev staging: most: return error value 2016-02-11 19:40:02 -08:00
aim-network staging: most: add statistics for dropped packets 2016-02-07 17:34:58 -08:00
aim-sound staging: most: remove multiple blank lines 2015-10-24 19:08:16 -07:00
aim-v4l2 staging: most: use preferred kzalloc parameters 2015-10-24 19:08:20 -07:00
Documentation Staging: most: Fix typo in staging/most 2015-10-12 20:35:21 -07:00
hdm-dim2 staging: most: compress return logic into one line 2016-02-25 22:34:19 -08:00
hdm-i2c staging: most: use preferred kernel types 2015-10-24 19:08:20 -07:00
hdm-usb staging: most: hdm-usb: Use macro DIV_ROUND_UP 2016-02-25 22:35:10 -08:00
mostcore Staging: most: Do not print message if kzalloc() failed. 2016-02-25 22:34:19 -08:00
Kconfig Staging: most: MOST and MOSTCORE should depend on HAS_DMA 2015-09-13 09:24:44 -07:00
Makefile Staging: most: add MOST driver's hdm-usb module 2015-07-24 13:50:43 -07:00
TODO