summaryrefslogtreecommitdiff
path: root/net/tls/tls_device.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-06-07 23:02:59 +0800
committerDavid S. Miller <davem@davemloft.net>2021-06-07 14:08:30 -0700
commit35cba15a504bf4f585bb9d78f47b22b28a1a06b2 (patch)
treecb81223c3fcba6757d508cca7b8b588c5c99d00c /net/tls/tls_device.c
parent7f553ff214105f49e973187488ff93ff9c56b0c8 (diff)
net: moxa: 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 <yangyingliang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls/tls_device.c')
0 files changed, 0 insertions, 0 deletions