[Intel-gfx] [PATCH 4/4] media: cxd2820r: use DIV_ROUND_CLOSEST_ULL()

2015-03-23 Thread Javi Merino
Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal implementation and use the kernel one. Cc: Antti Palosaari Cc: Mauro Carvalho Chehab Signed-off-by: Javi Merino --- I've only compile-tested it, I don't have the hardware to run it. drivers/media/dvb-frontends/cxd2820r_c.

Re: [Intel-gfx] [PATCH 4/4] media: cxd2820r: use DIV_ROUND_CLOSEST_ULL()

2015-03-23 Thread Javi Merino
On Fri, Mar 20, 2015 at 01:51:36PM +, Alex Elder wrote: > On 03/20/2015 06:14 AM, Javi Merino wrote: > > Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal > > implementation and use the kernel one. > > > > Cc: Antti Palosaari > > Cc: Mauro Carvalho Chehab > > Signed-off

Re: [Intel-gfx] [PATCH 4/4] media: cxd2820r: use DIV_ROUND_CLOSEST_ULL()

2015-03-23 Thread Antti Palosaari
On 03/20/2015 01:14 PM, Javi Merino wrote: Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal implementation and use the kernel one. Cc: Antti Palosaari Cc: Mauro Carvalho Chehab Signed-off-by: Javi Merino Acked-by: Antti Palosaari Reviewed-by: Antti Palosaari Antti

Re: [Intel-gfx] [PATCH 4/4] media: cxd2820r: use DIV_ROUND_CLOSEST_ULL()

2015-03-23 Thread Alex Elder
On 03/20/2015 12:27 PM, Javi Merino wrote: > On Fri, Mar 20, 2015 at 01:51:36PM +, Alex Elder wrote: >> On 03/20/2015 06:14 AM, Javi Merino wrote: >>> Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal >>> implementation and use the kernel one. >>> >>> Cc: Antti Palosaari

Re: [Intel-gfx] [PATCH 4/4] media: cxd2820r: use DIV_ROUND_CLOSEST_ULL()

2015-03-23 Thread Alex Elder
On 03/20/2015 06:14 AM, Javi Merino wrote: > Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal > implementation and use the kernel one. > > Cc: Antti Palosaari > Cc: Mauro Carvalho Chehab > Signed-off-by: Javi Merino > --- > I've only compile-tested it, I don't have the ha