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
..
2016-02-06 00:34:01 +01:00
2016-02-22 14:46:24 -08:00
2016-02-10 11:35:55 -05:00
2016-02-14 14:25:59 -08:00
2016-02-14 17:43:50 -08:00
2016-02-06 15:23:56 +08:00
2016-02-10 11:00:49 +01:00
2016-02-10 14:07:52 -05:00
2016-02-07 21:34:12 -08:00
2016-02-20 14:11:01 -08:00
2016-02-14 11:10:38 -08:00
2016-02-12 14:56:08 -05:00
2016-02-10 12:21:57 -08:00
2016-02-11 10:20:02 +00:00
2016-02-03 15:43:59 -08:00
2016-02-04 16:26:10 -02:00
2016-02-09 14:18:23 -08:00
2016-02-22 14:46:24 -08:00
2016-02-11 16:49:35 +01:00
2016-02-13 17:35:23 -08:00
2016-02-14 14:25:59 -08:00
2016-02-09 05:21:55 -05:00
2016-02-12 15:31:22 -08:00
2016-02-10 11:46:01 +05:30
2016-02-22 14:46:24 -08:00
2016-02-13 16:39:27 -08:00
2016-02-08 14:57:30 -08:00
2016-02-25 22:35:10 -08:00
2016-02-10 23:08:55 -08:00
2016-02-11 07:13:29 -08:00
2016-02-07 18:22:54 -08:00
2016-02-04 17:00:10 -08:00
2016-02-07 23:17:59 -08:00
2016-02-11 19:23:28 -08:00
2016-02-14 14:25:59 -08:00