linux_old1/drivers/clk
James Hogan 1a3cd18475 clk-divider: fix macros
The macro is_power_of_two() in clk-divider.c was defined as !(i & ~i)
which is always true.  Instead use is_power_of_2() from log2.h.

Also add brackets around the macro arguments in div_mask to avoid any
future operator precedence problems.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
[mturquette@linaro.org: use log2.h per Joe Perches; update changelog]
2013-01-18 09:44:02 -08:00
..
mmp clk: mmp: add clock definition for mmp2 2012-08-28 14:15:42 -07:00
mvebu clk: mvebu: Remove inappropriate __init tagging 2013-01-06 17:53:13 +00:00
mxs clk: mxs: Index is always positive 2013-01-15 16:16:27 -08:00
socfpga ARM: socfpga: initial support for Altera's SOCFPGA platform 2012-07-19 10:39:00 +02:00
spear ARM: arm-soc: Device-tree updates, take 2 2012-12-14 14:42:53 -08:00
ux500 Drivers: misc: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
versatile clk: move IM-PD1 clocks to drivers/clk 2012-11-21 11:02:44 -08:00
Kconfig ARM: arm-soc: Updates for Marvell mvebu/kirkwood 2012-12-14 14:54:26 -08:00
Makefile ARM: arm-soc: Updates for Marvell mvebu/kirkwood 2012-12-14 14:54:26 -08:00
clk-bcm2835.c ARM: arm-soc: Cleanups on various subarchitectures 2012-12-12 11:51:39 -08:00
clk-devres.c ARM: 7537/1: clk: Fix release in devm_clk_put() 2012-09-19 21:51:27 +01:00
clk-divider.c clk-divider: fix macros 2013-01-18 09:44:02 -08:00
clk-fixed-factor.c clk: fixed-factor: round_rate should use do_div 2013-01-11 18:43:27 -08:00
clk-fixed-rate.c clk: remove exported function from __init section 2013-01-15 16:16:26 -08:00
clk-gate.c clk: Add CLK_IS_BASIC flag to identify basic clocks 2012-07-11 15:36:43 -07:00
clk-highbank.c clk: add highbank clock support 2012-07-11 17:58:47 -07:00
clk-ls1x.c clk: add Loongson1B clock support 2012-08-31 11:05:18 -07:00
clk-max77686.c clk: max77686: Avoid double free at remove time 2013-01-15 16:16:26 -08:00
clk-mux.c clk: Add CLK_IS_BASIC flag to identify basic clocks 2012-07-11 15:36:43 -07:00
clk-nomadik.c ARM: nomadik: switch over to using the FSMC driver 2012-11-15 15:37:47 +02:00
clk-prima2.c clk: prima2: enable dt-binding clkdev mapping 2013-01-18 09:44:01 -08:00
clk-sunxi.c clk: sunxi: Add dummy fixed rate clock for Allwinner A1X SoCs 2012-11-16 21:46:39 +01:00
clk-twl6040.c Drivers: misc: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
clk-u300.c ARM: u300: convert to common clock 2012-07-11 15:36:45 -07:00
clk-vt8500.c clk: vt8500: Add support for WM8750/WM8850 PLL clocks 2013-01-15 16:16:25 -08:00
clk-wm831x.c Driver core updates for 3.8-rc1 2012-12-11 13:13:55 -08:00
clk-zynq.c clk: Add support for fundamental zynq clks 2012-11-14 16:07:55 +01:00
clk.c clk: JSON debugfs clock tree summary 2013-01-11 19:49:23 -08:00
clkdev.c ARM: 7534/1: clk: Make the managed clk functions generically available 2012-09-15 21:55:27 +01:00