Re: [PATCH v2 3/3] mtd: nand: davinci: Use devm_ioremap_shared_resource()

From: Andy Shevchenko
Date: Wed Jan 24 2018 - 11:22:55 EST


On Wed, Jan 24, 2018 at 12:08 PM, Ladislav Michl <ladis@xxxxxxxxxxxxxx> wrote:

> + res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> + vaddr = devm_ioremap_resource(&pdev->dev, res);

_resource_exclusive()

> + info->base = devm_ioremap_shared_resource(&pdev->dev, res);

_resource_shared()

--
With Best Regards,
Andy Shevchenko