Re: [PATCH] ata: Make use of the helper function devm_platform_ioremap_resource()
From: Damien Le Moal
Date: Thu Apr 21 2022 - 19:42:04 EST
On 4/21/22 17:44, cgel.zte@xxxxxxxxx wrote:
From: Lv Ruyi <lv.ruyi@xxxxxxxxxx>
Use the devm_platform_ioremap_resource() helper instead of calling
platform_get_resource() and devm_ioremap_resource() separately.Make the
code simpler without functional changes.
Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
Signed-off-by: Lv Ruyi <lv.ruyi@xxxxxxxxxx>
Applied to for-5.19. Thanks !
--
Damien Le Moal
Western Digital Research