diff options
author | Tero Kristo <t-kristo@ti.com> | 2019-09-12 16:26:05 +0300 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2019-10-31 15:18:28 +0200 |
commit | 22a6564f716b0746b5a05add3f9f37549f89244e (patch) | |
tree | e0988f4096669ad1dccf223420803411fb970e7e /include/linux/clk | |
parent | 581eb61a9465e1b9fc1df1a8912100702d7c2f31 (diff) |
clk: ti: clkctrl: convert to use bit helper macros instead of bitops
This improves the readibility of the code slightly, and makes modifying
the flags bit simpler.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'include/linux/clk')
-rw-r--r-- | include/linux/clk/ti.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/clk/ti.h b/include/linux/clk/ti.h index 1e8ef96555ce..bb2c5af9082a 100644 --- a/include/linux/clk/ti.h +++ b/include/linux/clk/ti.h @@ -153,7 +153,7 @@ struct clk_hw_omap { u8 fixed_div; struct clk_omap_reg enable_reg; u8 enable_bit; - u8 flags; + unsigned long flags; struct clk_omap_reg clksel_reg; struct dpll_data *dpll_data; const char *clkdm_name; |