Files
linux/drivers
Julia Lawall 75b697f747 V4L/DVB (12483): Use DIV_ROUND_CLOSEST
The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d
but is perhaps more readable.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@haskernel@
@@

@depends on haskernel@
expression x,__divisor;
@@

- (((x) + ((__divisor) / 2)) / (__divisor))
+ DIV_ROUND_CLOSEST(x,__divisor)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-12 12:19:08 -03:00
..
…
2009-09-11 02:33:59 -04:00
…
2009-07-12 12:22:34 -07:00
2009-08-15 12:58:45 +09:00
…
…
…
2009-07-12 12:22:34 -07:00
…
…
2009-08-04 20:31:32 +02:00
2009-09-03 14:59:16 +01:00
…
2009-08-26 20:06:52 -07:00
…
…
…
2009-08-18 16:31:13 -07:00
…
…
2009-07-12 12:22:34 -07:00
…
…
2009-07-30 16:03:45 +09:30
…
…
…