sysfs: disambiguate between "error code" and "failure" in comments
authorAntonio Ospite <ao2@ao2.it>
Wed, 29 Apr 2015 08:55:46 +0000 (10:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 19:31:33 +0000 (12:31 -0700)
commited1dc8a89454218a2471f67284765e8c03bdfc6b
tree38ea6ef9acc13c751a3d7065326c8606a224d132
parent80c6e1465948c2e91214f01764f427d31ebedb26
sysfs: disambiguate between "error code" and "failure" in comments

The sentence "Returns 0 on success or error" might be misinterpreted as
"the function will always returns 0", make it less ambiguous.

Also, use the word "failure" as the contrary of "success".

Signed-off-by: Antonio Ospite <ao2@ao2.it>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/sysfs/group.c