Yang Yingliang 015618c3ec ata: palmld: fix return value check in palmld_pata_probe()
If devm_platform_ioremap_resource() fails, it never return
NULL pointer, replace the check with IS_ERR().

Fixes: 57bf0f5a162d ("ARM: pxa: use pdev resource for palmld mmio")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
2022-10-31 20:28:05 +09:00
..
2022-09-20 08:52:02 +09:00
2022-10-07 10:48:49 -07:00
2022-10-07 10:48:49 -07:00
2022-10-07 10:48:49 -07:00
2022-10-07 10:48:49 -07:00
2022-03-23 14:35:59 -07:00