diff options
author | Ye Bin <yebin10@huawei.com> | 2021-04-09 17:51:45 +0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-05-04 19:37:43 +1000 |
commit | d5f14dcf0016e8c86c424d1fd839b1e9ab000279 (patch) | |
tree | 395e2dc0c48ddefc31d0b1a4095ab74e65e496f6 /arch/powerpc/platforms/52xx/mpc52xx_pci.c | |
parent | 295135d32fde7fa11c983cc7b1b79c49556c14cf (diff) |
macintosh/via-pmu: Use DEFINE_SPINLOCK() for spinlock
spinlock can be initialized automatically with DEFINE_SPINLOCK()
rather than explicitly calling spin_lock_init().
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Ye Bin <yebin10@huawei.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210409095145.2294210-1-yebin10@huawei.com
Diffstat (limited to 'arch/powerpc/platforms/52xx/mpc52xx_pci.c')
0 files changed, 0 insertions, 0 deletions