selftests: watchdog: Add command line option to show watchdog_info
authorGeorge G. Davis <george_davis@mentor.com>
Tue, 17 Sep 2019 18:40:23 +0000 (20:40 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 2 Oct 2019 19:44:43 +0000 (13:44 -0600)
commitce3a677802121e038d2f062e90f96f84e7351da0
tree1443466086cfae8b58897b6e8aeca604063a803d
parent8f9577eda5b74de4bd8b186c67f20736bdea6e07
selftests: watchdog: Add command line option to show watchdog_info

With the new ioctl(WDIOC_GETSUPPORT) call in place, add a command
line option to show the watchdog_info.

Suggested-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Signed-off-by: George G. Davis <george_davis@mentor.com>
Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/watchdog/watchdog-test.c