On Tue, 2015-03-31 at 20:22 +0300, Andy Shevchenko wrote: > This series introduces clk_div_mask() helper in one place instead of > div_mask() macros in many clock providers.
This one is tested on x86 with patchset [1] applied. Any comments, suggestions? [1] https://lkml.org/lkml/2015/4/1/189 > > Changelog v3: > - fix clk_div_mask() prototype: seems tired like on Friday evening! > > Changelog v2: > - fix patches 5,6,7 where parameter of the macro was d instead of d->width > > Andy Shevchenko (7): > clk: introduce clk_div_mask() helper > clk: mmp: switch to clk_div_mask() > clk: divider: switch to clk_div_mask() > clk: socfpga: switch to clk_div_mask() > clk: ti: divider: switch to clk_div_mask() > clk: tegra: switch to clk_div_mask() > ARM: imx: switch to clk_div_mask() > > arch/arm/mach-imx/clk-fixup-div.c | 7 +++---- > drivers/clk/clk-divider.c | 18 ++++++++---------- > drivers/clk/mmp/clk-mix.c | 2 +- > drivers/clk/socfpga/clk-gate.c | 2 +- > drivers/clk/socfpga/clk-periph.c | 2 +- > drivers/clk/socfpga/clk.h | 1 - > drivers/clk/tegra/clk-divider.c | 7 +++---- > drivers/clk/ti/divider.c | 18 ++++++++---------- > include/linux/clk-provider.h | 5 +++++ > 9 files changed, 30 insertions(+), 32 deletions(-) > -- Andy Shevchenko <andriy.shevche...@intel.com> Intel Finland Oy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/