mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-09-18 23:09:29 +02:00
ACPI: pmtmr: Convert to kernel-doc format
Prevent kernel-doc warnings by converting 2 functions to kernel-doc format: Warning: ./include/linux/acpi_pmtmr.h:29 This comment starts with '/**', but isn't a kernel-doc comment. * Register callback for suspend and resume event Warning: ./include/linux/acpi_pmtmr.h:37 This comment starts with '/**', but isn't a kernel-doc comment. * Remove registered callback for suspend and resume event Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Link: https://patch.msgid.link/20260720032341.3087008-3-rdunlap@infradead.org Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
committed by
Rafael J. Wysocki
parent
257f215376
commit
1d69768218
@@ -27,15 +27,17 @@ static inline u32 acpi_pm_read_early(void)
|
||||
}
|
||||
|
||||
/**
|
||||
* Register callback for suspend and resume event
|
||||
* acpi_pmtmr_register_suspend_resume_callback - Register callback for
|
||||
* suspend and resume event
|
||||
*
|
||||
* @cb Callback triggered on suspend and resume
|
||||
* @data Data passed with the callback
|
||||
* @cb: Callback triggered on suspend and resume
|
||||
* @data: Data passed with the callback
|
||||
*/
|
||||
void acpi_pmtmr_register_suspend_resume_callback(void (*cb)(void *data, bool suspend), void *data);
|
||||
|
||||
/**
|
||||
* Remove registered callback for suspend and resume event
|
||||
* acpi_pmtmr_unregister_suspend_resume_callback - Remove registered callback
|
||||
* for suspend and resume event
|
||||
*/
|
||||
void acpi_pmtmr_unregister_suspend_resume_callback(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user