sysfs: sysfs_chmod_file's attr can be const
authorJean Delvare <khali@linux-fr.org>
Fri, 2 Jul 2010 14:54:05 +0000 (16:54 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 5 Aug 2010 20:53:34 +0000 (13:53 -0700)
commit49c19400f60bbe362202d7e7b3e68cc66040d0fa
treec514cf3270a81a199bac36feee020a98d05db9c5
parent3317fad5e9c741e758707879c68e20de2cb08f87
sysfs: sysfs_chmod_file's attr can be const

sysfs_chmod_file doesn't change the attribute it operates on, so this
attribute can be marked const.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/file.c
include/linux/sysfs.h
This page took 0.027003 seconds and 5 git commands to generate.