diff options
| author | Bumsik Kim <[email protected]> | 2020-05-29 10:24:28 +0900 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2020-08-05 18:42:46 +0200 |
| commit | 0be01476dd527dfa00976911208332c706a1b752 (patch) | |
| tree | c90eb995d4f7b6a167263b9dc2690056e5a41a7d /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | d6e6d5627f0aaa16d6b6e94238d62a594a35b5ce (diff) | |
watchdog: test_bit() => watchdog_active()
Use the dedicated function watchdog_active()
instead of the generic test_bit() function.
It is done using the following Coccinelle script:
@@
identifier wdd;
@@
- test_bit(WDOG_ACTIVE, &wdd->status)
+ watchdog_active(wdd)
Signed-off-by: Bumsik Kim <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions