commit | acf8aec3501cac6fd67e2653267ed61a22617c37 | [log] [tgz] |
---|---|---|
author | Shixin Liu <liushixin2@huawei.com> | Mon Mar 29 17:53:48 2021 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Mar 29 07:38:49 2021 -0600 |
tree | d99281debbcc0f1ad41dfc887b070c9ba1b0ad98 | |
parent | 0f00b82e5413571ed225ddbccad6882d7ea60bc7 [diff] |
mtip32xx: use DEFINE_SPINLOCK() for spinlock spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Signed-off-by: Shixin Liu <liushixin2@huawei.com> Link: https://lore.kernel.org/r/20210329095349.4170870-1-liushixin2@huawei.com Signed-off-by: Jens Axboe <axboe@kernel.dk>