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

Andy Shevchenko andy.shevchenko at gmail.com
Wed Jan 24 08:22:48 PST 2018


On Wed, Jan 24, 2018 at 12:08 PM, Ladislav Michl <ladis at linux-mips.org> 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



More information about the linux-mtd mailing list