Skip to content

Commit 863d7b1

Browse files
rtc: pm8xxx: update kerneldoc for struct pm8xxx_rtc
The change from u8 ctrl_reg to const struct pm8xxx_rtc_regs *regs; did not properly update the kerneldoc comment. Fixes: drivers/rtc/rtc-pm8xxx.c:64: warning: Function parameter or member 'regs' not described in 'pm8xxx_rtc' Fixes: c8d523a ("drivers/rtc/rtc-pm8xxx.c: rework to support pm8941 rtc") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent e5b7d90 commit 863d7b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/rtc/rtc-pm8xxx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ struct pm8xxx_rtc_regs {
4949
* @regmap: regmap used to access RTC registers
5050
* @allow_set_time: indicates whether writing to the RTC is allowed
5151
* @rtc_alarm_irq: rtc alarm irq number.
52-
* @ctrl_reg: rtc control register.
52+
* @regs: rtc registers description.
5353
* @rtc_dev: device structure.
5454
* @ctrl_reg_lock: spinlock protecting access to ctrl_reg.
5555
*/

0 commit comments

Comments
 (0)