aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2024-05-29 09:35:09 +0000
committerGeert Uytterhoeven <[email protected]>2024-06-07 12:09:59 +0000
commit3b2f834dd3f952a0c69c0dacef68172742acacbc (patch)
tree6a2da58a285f0b386f520066160e5b6239dc1cdd /rust/helpers.c
parentclk: renesas: r8a77970: Use common cpg_lock (diff)
downloadkernel-3b2f834dd3f952a0c69c0dacef68172742acacbc.tar.gz
kernel-3b2f834dd3f952a0c69c0dacef68172742acacbc.zip
clk: renesas: cpg-lib: Use DEFINE_SPINLOCK() for global spinlock
A global spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Suggested-by: Ye Bin <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/9073a6bfb7791e492156331fa8a0ea87a7c7cef6.1716975021.git.geert+renesas@glider.be
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions