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)
commit6ddf5087f8022847556a4fec1d37a613f7e395d5
tree0e190779b9667dc3ab244814c82af211c9e9c927
parent3452239effed2b6ea25835f93bdb8a31f6829ffe
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