staging: axis-fifo: Use devm_platform_get_and_ioremap_resource()
authorYangtao Li <frank.li@vivo.com>
Tue, 4 Jul 2023 09:55:43 +0000 (17:55 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jul 2023 07:59:52 +0000 (09:59 +0200)
commit405f3d102c465d329195e0046daf8121b4ab9998
tree989ea859d8bf83f77ed4b76b87923c6fc04c2fe4
parentdb4479215cb9bf1bf22843a3183b7876ddcd1e0f
staging: axis-fifo: Use devm_platform_get_and_ioremap_resource()

Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Link: https://lore.kernel.org/r/20230704095543.32812-1-frank.li@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/axis-fifo/axis-fifo.c