diff options
| author | Geert Uytterhoeven <[email protected]> | 2024-05-29 09:35:10 +0000 |
|---|---|---|
| committer | Geert Uytterhoeven <[email protected]> | 2024-06-07 12:10:15 +0000 |
| commit | 2092760681b53cd0c1214444ac35737ff8a65024 (patch) | |
| tree | d49466cf9ff37c19bfa7e3031fc8034b31e8e0f8 /rust/helpers.c | |
| parent | clk: renesas: cpg-lib: Use DEFINE_SPINLOCK() for global spinlock (diff) | |
| download | kernel-2092760681b53cd0c1214444ac35737ff8a65024.tar.gz kernel-2092760681b53cd0c1214444ac35737ff8a65024.zip | |
clk: renesas: rcar-gen2: Use DEFINE_SPINLOCK() for static spinlock
A static 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/8da2c908f00043f05f7e26e3c26400aea0cfe8bc.1716975021.git.geert+renesas@glider.be
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
