From: Randy Dunlap Date: Fri, 29 May 2026 21:20:23 +0000 (-0700) Subject: watchdog: core: clean up some comments X-Git-Tag: v7.2-rc1~169^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5be907887350812624f8bac4671a0f7e6c22c92;p=thirdparty%2Fkernel%2Flinux.git watchdog: core: clean up some comments Fix some grammar typos and bulleted kernel-doc comment format. Signed-off-by: Randy Dunlap Signed-off-by: Guenter Roeck --- diff --git a/drivers/watchdog/watchdog_core.c b/drivers/watchdog/watchdog_core.c index 8300520688d07..866874b268191 100644 --- a/drivers/watchdog/watchdog_core.c +++ b/drivers/watchdog/watchdog_core.c @@ -55,9 +55,9 @@ MODULE_PARM_DESC(stop_on_reboot, "Stop watchdogs on reboot (0=keep watching, 1=s * for example when it's impossible to disable it. To do so, * raising the initcall level of the watchdog driver is a solution. * But in such case, the miscdev is maybe not ready (subsys_initcall), and - * watchdog_core need miscdev to register the watchdog as a char device. + * watchdog_core needs miscdev to register the watchdog as a char device. * - * The deferred registration infrastructure offer a way for the watchdog + * The deferred registration infrastructure offers a way for the watchdog * subsystem to register a watchdog properly, even before miscdev is ready. */ @@ -222,11 +222,11 @@ static int watchdog_pm_notifier(struct notifier_block *nb, unsigned long mode, * watchdog_set_restart_priority - Change priority of restart handler * @wdd: watchdog device * @priority: priority of the restart handler, should follow these guidelines: - * 0: use watchdog's restart function as last resort, has limited restart - * capabilies - * 128: default restart handler, use if no other handler is expected to be + * * 0: use watchdog's restart function as last resort, has limited restart + * capabilities + * * 128: default restart handler, use if no other handler is expected to be * available and/or if restart is sufficient to restart the entire system - * 255: preempt all other handlers + * * 255: preempt all other handlers * * If a wdd->ops->restart function is provided when watchdog_register_device is * called, it will be registered as a restart handler with the priority given