Driver core: bin_attribute parameters can often be const*
authorPhil Carmody <ext-phil.2.carmody@nokia.com>
Fri, 18 Dec 2009 13:34:20 +0000 (15:34 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Dec 2009 19:23:43 +0000 (11:23 -0800)
commit66ecb92be9eb579df93add22d19843e7869f168e
tree60a8c4ecfd1ccb0743a137ecfbd972888dbd34ce
parent26579ab70aa0e0ea434e6e100279d2f67c094431
Driver core: bin_attribute parameters can often be const*

Many struct bin_attribute descriptors are purely read-only
structures, and there's no need to change them. Therefore
make the promise not to, which will let those descriptors
be put in a ro section.

Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c
fs/sysfs/bin.c
include/linux/device.h
include/linux/sysfs.h