mirror of https://gitee.com/openkylin/linux.git
staging: gasket: sysfs: fix attribute release comment
Comments for gasket_sysfs_get_attr() incorrectly describe reference release procedure. Signed-off-by: Nick Ewalt <nicholasewalt@google.com> Signed-off-by: Todd Poynor <toddpoynor@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9edcf710ab
commit
df5f470de0
|
@ -152,8 +152,8 @@ void gasket_sysfs_put_device_data(struct device *device,
|
||||||
* Returns the Gasket sysfs attribute associated with the kernel device
|
* Returns the Gasket sysfs attribute associated with the kernel device
|
||||||
* attribute and device structure itself. Upon success, this call will take a
|
* attribute and device structure itself. Upon success, this call will take a
|
||||||
* reference to internal sysfs data that must be released with a call to
|
* reference to internal sysfs data that must be released with a call to
|
||||||
* gasket_sysfs_get_device_data. While this reference is held, the underlying
|
* gasket_sysfs_put_attr. While this reference is held, the underlying device
|
||||||
* device sysfs information/structure will remain valid/will not be deleted.
|
* sysfs information/structure will remain valid/will not be deleted.
|
||||||
*/
|
*/
|
||||||
struct gasket_sysfs_attribute *
|
struct gasket_sysfs_attribute *
|
||||||
gasket_sysfs_get_attr(struct device *device, struct device_attribute *attr);
|
gasket_sysfs_get_attr(struct device *device, struct device_attribute *attr);
|
||||||
|
|
Loading…
Reference in New Issue