Skip to content

Commit 6f69319

Browse files
rtc: sysfs: fix hctosys_show kerneldoc
Fix undocumented function parameters: drivers/rtc/sysfs.c:112: warning: Function parameter or member 'dev' not described in 'hctosys_show' drivers/rtc/sysfs.c:112: warning: Function parameter or member 'attr' not described in 'hctosys_show' drivers/rtc/sysfs.c:112: warning: Function parameter or member 'buf' not described in 'hctosys_show' Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent 55dcf7a commit 6f69319

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

drivers/rtc/sysfs.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,11 @@ static DEVICE_ATTR_RW(max_user_freq);
103103

104104
/**
105105
* rtc_sysfs_show_hctosys - indicate if the given RTC set the system time
106+
* @dev: The device that the attribute belongs to.
107+
* @attr: The attribute being read.
108+
* @buf: The result buffer.
106109
*
107-
* Returns 1 if the system clock was set by this RTC at the last
110+
* buf is "1" if the system clock was set by this RTC at the last
108111
* boot or resume event.
109112
*/
110113
static ssize_t

0 commit comments

Comments
 (0)