diff options
author | Yang Yingliang <[email protected]> | 2021-06-09 22:17:44 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-06-10 13:02:01 -0700 |
commit | 0699073951e354069b4cfec28dbc4c35cef46e97 (patch) | |
tree | 330f6cd7aba6008262dc9003bc505357d0e03ad0 /tools/perf/scripts/python/netdev-times.py | |
parent | aced6d37df797db46fa4d3540f657e8e46f2667c (diff) |
net: davinci_emac: Use devm_platform_get_and_ioremap_resource()
Use devm_platform_get_and_ioremap_resource() to simplify
code and avoid a null-ptr-deref by checking 'res' in it.
Signed-off-by: Yang Yingliang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions