clk: socfpga: switch to GENMASK()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 13 Jul 2015 14:07:43 +0000 (17:07 +0300)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 28 Jul 2015 18:59:16 +0000 (11:59 -0700)
commit25d4d341d31b349836e1b12d10be34b9b575c12b
treeb30d9d7137682cac25f68504e0524b644526fd87
parent4b5fb7dc9096d949a22651370bb6bf11f21edb30
clk: socfpga: switch to GENMASK()

Convert the code to use GENMASK() helper instead of div_mask() macro.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/socfpga/clk-gate-a10.c
drivers/clk/socfpga/clk-gate.c
drivers/clk/socfpga/clk-periph-a10.c
drivers/clk/socfpga/clk-periph.c
drivers/clk/socfpga/clk.h