diff options
author | William Breathitt Gray <vilhelm.gray@gmail.com> | 2021-08-27 05:47:48 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-10-17 11:53:11 +0200 |
commit | 712392f558ef4280b67659fb2d52854dcfc7c8ba (patch) | |
tree | a35e7f3b36362a53d2c2653983b29a10b677386a /drivers/counter | |
parent | counter: Internalize sysfs interface code (diff) | |
download | linux-712392f558ef4280b67659fb2d52854dcfc7c8ba.tar.xz linux-712392f558ef4280b67659fb2d52854dcfc7c8ba.zip |
counter: Update counter.h comments to reflect sysfs internalization
The Counter subsystem architecture and driver implementations have
changed in order to handle Counter sysfs interactions in a more
consistent way. This patch updates the Generic Counter interface
header file comments to reflect the changes.
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Link: https://lore.kernel.org/r/19da8ae0c05381b0967c8a334b67f86b814eb880.1630031207.git.vilhelm.gray@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/counter')
-rw-r--r-- | drivers/counter/counter-core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/counter/counter-core.c b/drivers/counter/counter-core.c index c533a6ff12cf..3cda2c47bacb 100644 --- a/drivers/counter/counter-core.c +++ b/drivers/counter/counter-core.c @@ -38,6 +38,9 @@ static struct bus_type counter_bus_type = { * This function registers a Counter to the system. A sysfs "counter" directory * will be created and populated with sysfs attributes correlating with the * Counter Signals, Synapses, and Counts respectively. + * + * RETURNS: + * 0 on success, negative error number on failure. */ int counter_register(struct counter_device *const counter) { |