diff options
author | Yang Yingliang <[email protected]> | 2021-06-10 17:17:12 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-06-10 13:59:37 -0700 |
commit | 8a55a73433e763c8aec4a3e8df5c28c821fc44b9 (patch) | |
tree | 7818282f94d7b14578f2bae45e3c5beeb6dc6a87 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1f7096f0fdb2ac5ae6f1e290dfdd2fb7bbb074d3 (diff) |
net: mido: mdio-mux-bcm-iproc: 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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions