diff options
author | Yang Li <[email protected]> | 2023-03-23 17:16:44 +0800 |
---|---|---|
committer | Krzysztof Wilczyński <[email protected]> | 2023-07-13 18:12:35 +0000 |
commit | da1e3277a8fe6bc0d368db7d3210e369566a47fb (patch) | |
tree | c3687e065c63764b696832a20e7bc89853e903db /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) |
PCI: rcar-gen2: Use devm_platform_get_and_ioremap_resource()
Convert calls to platform_get_resource() and devm_ioremap_resource()
into a single call to devm_platform_get_and_ioremap_resource(), to
simplify the code.
This new helper added in commit 890cc39a8799 ("drivers: provide
devm_platform_get_and_ioremap_resource()") does what both of the
other separate functions do.
[kwilczynski: commit log]
Link: https://lore.kernel.org/linux-pci/[email protected]
Signed-off-by: Yang Li <[email protected]>
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions