diff options
author | Yang Li <[email protected]> | 2023-03-23 17:00:11 +0800 |
---|---|---|
committer | Krzysztof Wilczyński <[email protected]> | 2023-07-13 18:12:36 +0000 |
commit | b1042a7caa02e4e52cd4ccf1c04c07e635fe7dd6 (patch) | |
tree | eeed31f27cfb94d7320d50d82cbf04fa84ff9a7d /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 88f29abd249a1e2bd74206841963780f445226e9 (diff) |
PCI: xgene-msi: 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]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions