mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
sysfs: remove SPIN_LOCK_UNLOCKED
SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead Signed-off-by: Jiri Slaby <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: Tejun Heo <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
2f90a85180
commit
d7b3788965
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ static struct sysfs_ops subsys_sysfs_ops = {
|
|||
* sysfs_dirent->s_attr.open points to sysfs_open_dirent. s_attr.open
|
||||
* 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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue