diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2024-02-05 13:43:14 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-07 09:13:58 -0800 |
commit | c474dd5a52df18f255509733f087b5c0b471eb4d (patch) | |
tree | d395cb0ed178f16815d21c37ebe82fe3dfe08345 /net/bpf | |
parent | d160c66cda0ac8614adc53a5b5b0e6d6f1a05a5b (diff) |
tsnep: Use devm_platform_get_and_ioremap_resource() in tsnep_probe()
A wrapper function is available since the commit 890cc39a879906b63912482dfc41944579df2dc6
("drivers: provide devm_platform_get_and_ioremap_resource()").
Thus reuse existing functionality instead of keeping duplicate source code.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Tested-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Link: https://lore.kernel.org/r/29e9dc0f-5597-4fee-be5c-25a5ab4fe2dc@web.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/bpf')
0 files changed, 0 insertions, 0 deletions