diff options
author | Yang Li <[email protected]> | 2023-03-23 15:45:53 +0800 |
---|---|---|
committer | Krzysztof Wilczyński <[email protected]> | 2023-07-13 18:12:36 +0000 |
commit | 188f46cac267b9b8f3201ed21d719a51946e1e34 (patch) | |
tree | 7ad7af31a35b5429f938f973e9a091a2b9e76dbd /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | b1042a7caa02e4e52cd4ccf1c04c07e635fe7dd6 (diff) |
PCI: imx6: 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: Richard Zhu <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions