ata: pata_ep93xx: use devm_platform_get_and_ioremap_resource()
authorMinghao Chi <chi.minghao@zte.com.cn>
Fri, 11 Nov 2022 08:47:12 +0000 (16:47 +0800)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Sat, 12 Nov 2022 01:58:56 +0000 (10:58 +0900)
commitaebf1e26a84f2e38cf38aa228546adc2a2ede1fb
tree8991da9b9227661131d1b9891763157a2911b742
parentd5b560c014eddce747b2fd528d3071ded215b219
ata: pata_ep93xx: 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.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/pata_ep93xx.c