Skip to content

Commit

Permalink
clk: meson: make the spinlock naming more specific
Browse files Browse the repository at this point in the history
Make the spinlock more specific, so better for lockdep
debugging and ctags/grep.

Suggested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
  • Loading branch information
Yixun Lan authored and Jerome Brunet committed Dec 14, 2017
1 parent ed3fb5a commit 27aad90
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 69 deletions.
2 changes: 1 addition & 1 deletion drivers/clk/meson/clkc.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ struct meson_clk_audio_divider {
struct clk_gate _name = { \
.reg = (void __iomem *) _reg, \
.bit_idx = (_bit), \
.lock = &clk_lock, \
.lock = &meson_clk_lock, \
.hw.init = &(struct clk_init_data) { \
.name = #_name, \
.ops = &clk_gate_ops, \
Expand Down
Loading

0 comments on commit 27aad90

Please sign in to comment.