diff options
| author | Uwe Kleine-König <[email protected]> | 2020-09-24 12:52:55 +0200 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2020-10-27 12:18:28 +0100 |
| commit | 5d78533a0c53af9659227c803df944ba27cd56e0 (patch) | |
| tree | 3c8e37b0013d3dc5e6192ccaec3eb56349c2a9ca /tools/perf/scripts/python | |
| parent | 3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff) | |
rtc: pcf2127: move watchdog initialisation to a separate function
The obvious advantages are:
- The linker can drop the watchdog functions if CONFIG_WATCHDOG is off.
- All watchdog stuff grouped together with only a single function call
left in generic code.
- Watchdog register is only read when it is actually used.
- Less #ifdefery
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions