Commit d7b37889 authored by Jiri Slaby's avatar Jiri Slaby Committed by Greg Kroah-Hartman
Browse files

sysfs: remove SPIN_LOCK_UNLOCKED

SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead
Signed-off-by: default avatarJiri Slaby <>
Signed-off-by: default avatarAndrew Morton <>
Cc: Tejun Heo <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 2f90a851
......@@ -66,7 +66,7 @@ static struct sysfs_ops subsys_sysfs_ops = {
* sysfs_dirent-> points to sysfs_open_dirent.
* is protected by sysfs_open_dirent_lock.
static spinlock_t sysfs_open_dirent_lock = SPIN_LOCK_UNLOCKED;
static DEFINE_SPINLOCK(sysfs_open_dirent_lock);
struct sysfs_open_dirent {
atomic_t refcnt;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment