diff options
author | Guobin Huang <huangguobin4@huawei.com> | 2021-04-06 19:55:14 +0800 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2021-04-08 13:19:56 +0200 |
commit | 13e133ea1a6b864f16663c3f8941f33e25593de3 (patch) | |
tree | d28625545deb091d3519c269113b6d790530b658 /mm/mapping_dirty_helpers.c | |
parent | 2552fb66ae301f490ea37f64d2cdc5778ae61874 (diff) |
gma500: 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: Guobin Huang <huangguobin4@huawei.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1617710114-48071-1-git-send-email-huangguobin4@huawei.com
Diffstat (limited to 'mm/mapping_dirty_helpers.c')
0 files changed, 0 insertions, 0 deletions