diff options
| author | Corentin Labbe <[email protected]> | 2017-10-21 19:45:13 +0200 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2017-12-28 20:45:12 +0100 |
| commit | e531037145df630ff9d7be3858497388cc700f79 (patch) | |
| tree | eaa24205264459aef5a087e5295604f836cba6ac /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | b6c84c9ff3f48a476451eceb5e8478b8aadda8dc (diff) | |
watchdog: sunxi_wdt: use of_device_get_match_data
The usage of of_device_get_match_data reduce the code size a bit.
Furthermore, it prevents an improbable dereference when
of_match_device() return NULL.
Signed-off-by: Corentin Labbe <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions