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

Most device_attributes are const, and are begging to be
put in a ro section. However, the create and remove
file interfaces were failing to propagate the const promise
which the only functions they call offer.

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