]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: Add {min,max}_timeout sysfs nodes
authorJuerg Haefliger <juerg.haefliger@canonical.com>
Tue, 11 May 2021 06:29:53 +0000 (08:29 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 21 Jun 2021 06:49:02 +0000 (08:49 +0200)
commitecdd5722cbbeca45d0449e2dc499f660e1759854
tree0e190779b9667dc3ab244814c82af211c9e9c927
parent7afdccb392fa11cf112b97f8a84cde008caa1ebb
watchdog: Add {min,max}_timeout sysfs nodes

The valid range for the 'timeout' value is useful information so expose
the min and max timeout values via sysfs.

Signed-off-by: Juerg Haefliger <juergh@canonical.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210511062953.485252-1-juergh@canonical.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/watchdog_dev.c