diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-07-13 17:07:43 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-07-28 11:59:16 -0700 |
commit | 25d4d341d31b349836e1b12d10be34b9b575c12b (patch) | |
tree | b30d9d7137682cac25f68504e0524b644526fd87 /drivers/clk/socfpga/clk.h | |
parent | 4b5fb7dc9096d949a22651370bb6bf11f21edb30 (diff) | |
download | op-kernel-dev-25d4d341d31b349836e1b12d10be34b9b575c12b.zip op-kernel-dev-25d4d341d31b349836e1b12d10be34b9b575c12b.tar.gz |
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>
Diffstat (limited to 'drivers/clk/socfpga/clk.h')
-rw-r--r-- | drivers/clk/socfpga/clk.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/socfpga/clk.h b/drivers/clk/socfpga/clk.h index f421920..aa2741d 100644 --- a/drivers/clk/socfpga/clk.h +++ b/drivers/clk/socfpga/clk.h @@ -26,7 +26,6 @@ #define CLKMGR_PERPLL_SRC 0xAC #define SOCFPGA_MAX_PARENTS 5 -#define div_mask(width) ((1 << (width)) - 1) #define streq(a, b) (strcmp((a), (b)) == 0) #define SYSMGR_SDMMC_CTRL_SET(smplsel, drvsel) \ |