Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
implementation and use the kernel one.
Cc: Mauro Carvalho Chehab
Acked-by: Antti Palosaari
Reviewed-by: Antti Palosaari
Signed-off-by: Javi Merino
---
drivers/media/dvb-frontends/cxd2820r_c.c| 2 +-
drivers/media/dvb
Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
implementation and use the kernel one.
Cc: "Rafael J. Wysocki"
Cc: Mel Gorman
Cc: Stephen Hemminger
Signed-off-by: Javi Merino
---
drivers/cpuidle/governors/menu.c | 8 +---
1 file changed, 1 inser
Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
implementation and use the kernel one.
Cc: Mike Turquette
Cc: Stephen Boyd
Cc: Alex Elder
Signed-off-by: Javi Merino
---
drivers/clk/bcm/clk-kona.c | 28 +++-
drivers/clk/bcm/clk-kona.h | 1 -
2
We have grown a number of different implementations of
DIV_ROUND_CLOSEST_ULL throughout the kernel. Move the i915 one to
kernel.h so that it can be reused.
Cc: Jani Nikula
Cc: David Airlie
Cc: Guenter Roeck
Cc: Andrew Morton
Acked-by: Daniel Vetter
Signed-off-by: Javi Merino
---
drivers
vor of the one in
kernel.h
Changes since v1:
- inlcude linux/kernel.h in drivers/gpu/drm/i915/intel_panel.c
instead of drivers/gpu/drm/i915/intel_drv.h as Emil Velikov
suggests
- Avoid evaluating 'divisor' twice
Javi Merino (4):
kernel.h: Implement DIV_ROUND_CLOSEST_ULL
On Mon, Mar 23, 2015 at 05:04:16PM +, Javi Merino wrote:
> On Mon, Mar 23, 2015 at 12:34:04PM +, Jeff Epler wrote:
> > On Fri, Mar 20, 2015 at 11:14:40AM +0000, Javi Merino wrote:
> > > +/*
> > > + * Same as above but for u64 dividends. divisor must b
On Mon, Mar 23, 2015 at 12:34:04PM +, Jeff Epler wrote:
> On Fri, Mar 20, 2015 at 11:14:40AM +0000, Javi Merino wrote:
> > +/*
> > + * Same as above but for u64 dividends. divisor must be a 32-bit
> > + * number.
> > + */
> > +#define
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
vor of the one in
kernel.h
Javi Merino (4):
kernel.h: Implement DIV_ROUND_CLOSEST_ULL
clk: bcm/kona: use DIV_ROUND_CLOSEST_ULL()
cpuidle: menu: use DIV_ROUND_CLOSEST_ULL()
media: cxd2820r: use DIV_ROUND_CLOSEST_ULL()
drivers/clk/bcm/clk-kona.c
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:
We have grown a number of different implementations of
DIV_ROUND_CLOSEST_ULL throughout the kernel. Move the i915 one to
kernel.h so that it can be reused.
Cc: Daniel Vetter
Cc: Jani Nikula
Cc: David Airlie
Cc: Darrick J. Wong
Cc: Guenter Roeck
Cc: Andrew Morton
Signed-off-by: Javi Merino
Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
implementation and use the kernel one.
Cc: Mike Turquette
Cc: Stephen Boyd
Cc: Alex Elder
Signed-off-by: Javi Merino
---
I've only compile-tested this, I don't have the hardware to test it.
drivers/clk/bcm/
On Fri, Mar 20, 2015 at 06:19:26PM +, Emil Velikov wrote:
> On 20 March 2015 at 11:14, Javi Merino wrote:
> > We have grown a number of different implementations of
> > DIV_ROUND_CLOSEST_ULL throughout the kernel. Move the i915 one to
> > kernel.h so that it can be reuse
Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
implementation and use the kernel one.
Cc: "Rafael J. Wysocki"
Cc: Mel Gorman
Cc: Stephen Hemminger
Signed-off-by: Javi Merino
---
drivers/cpuidle/governors/menu.c | 8 +---
1 file changed, 1 inser
14 matches
Mail list logo