Received: by 10.223.176.46 with SMTP id f43csp955729wra; Wed, 24 Jan 2018 08:23:44 -0800 (PST) X-Google-Smtp-Source: AH8x226W7nt4yZJHyaMGllIO/mwmQoMxuSrjaeVuw9GguEPUCeXmrVMmbhGpSRMq2rMM7geAmYkk X-Received: by 2002:a17:902:2983:: with SMTP id h3-v6mr8090259plb.76.1516811023955; Wed, 24 Jan 2018 08:23:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516811023; cv=none; d=google.com; s=arc-20160816; b=tyKRJx2LvhwzyD6mXvxoapHi6/yvRW1UaHBC4GJ3evP15hK9N2ST2BsR0A9n0Gj5GS qPOpilMDUteOMAS8Ar1/Y9PaHC/N3DcFFoUNR0Cl69Y2QeEiSbw2LCsbh+/As8Sr6+IS qiayE7VH+djNY0SRAInlv8uzyWBKKkyOxBUDG+enBd1WrVa0v6ZPaQ4YJmxm5XLwvyUp fs93dRvSD200DmG+phPsdKWG8D0Ek7jRVkfolvvCgNKp7gOMKKG3fNa8nQ9o53X1n33Z ZRb1LZmQlStnjZSjCeKnc70bTlETmDqYjljxlot+knx0GbCMg4irkQiyDpSWAyZbz7CF BGLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=K0+XRZ5F8DAU2etB0qH9E0E9EDOkM6as/0uKt/ZhiLk=; b=TObXdSSclaspDbjO6MePAeiZGq0YkajAK/gzikVFbMg0ObPgdZEHpjtu394+DgGomf tU37RTncXhdOt9HIVlLdkcoospc2zlCNOdr/98Ar5h/Y68XhulxYvNJ+E7LLL5VKfxLf TlG704pOjUQhkzQO4QAmOsFgX22dGUc3JYlp+TO9eSdNYVUXz6vjGj5WKwW++ZZUHKV5 mwMXnRNUXPxjBuMeDra4LLezZqeSzD7hANE9oc2qPQI+QuO7w5MkF/kLOrf7+E7Fo6Je N9k7K1YVaCpLBN5XTShAe9ea9bJ9xZgU6KOk2wsQ41+Rm9NVzBa5Ej/kel56Jtse3Moz 51uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TrjYL9xg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v5si3139628pfl.11.2018.01.24.08.23.30; Wed, 24 Jan 2018 08:23:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TrjYL9xg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964792AbeAXQWu (ORCPT + 99 others); Wed, 24 Jan 2018 11:22:50 -0500 Received: from mail-qt0-f171.google.com ([209.85.216.171]:42447 "EHLO mail-qt0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934270AbeAXQWt (ORCPT ); Wed, 24 Jan 2018 11:22:49 -0500 Received: by mail-qt0-f171.google.com with SMTP id c2so11679851qtn.9 for ; Wed, 24 Jan 2018 08:22:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=K0+XRZ5F8DAU2etB0qH9E0E9EDOkM6as/0uKt/ZhiLk=; b=TrjYL9xg5ABW+z2qWXxqyCG4SzsFIq2V15JXp5jqqrfxbTqEQLozCX0Jv5m7nIDHO4 CGYR8NakWX7yAeAdj6NmtpwZzAhVpKp5MTkD48vdQdoW1CGRr6cRxOscRCQ/e9uxWBuE FQkDLln9znvKKwd5+39MnNv8F3PoO1N9sJIzZGYveNuXXGaT6HPTsXy8ZwkRATCXmAET 8MijvNXh2mjdiW7ir11UPE+/2PNwOxP/9js9vWfM8xYaI0Vs+4eJXNTTPbSyDyY2h5K6 +9DHpfmAvySMZUrJYuyOYcOXY4QKs9dZJ/6mhTsGCLn8wb853Wi0vOQoP/xsvvDpKXOL zwYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=K0+XRZ5F8DAU2etB0qH9E0E9EDOkM6as/0uKt/ZhiLk=; b=Ys/qGDrPHrwjwuEleF0CD4ukkNPLyOUCCuYTPyOFAt0/CLhZNFRmNzTaKzmA04RDEa QOAAHSzjlqJ/2/gs0HGeWYF55jn0Od5c6Dj3SHzY7MgP/LsxO9Lz+425YPsYHJXM3aYb YSDvt+2i18WOONWuzbEdHepQacsE3b3JhSFqKHDrgeZ/Zp87tcearDOuW8GgFgAY/LNw zUMeO+xwaLQP8F1oA4+P2yCn8gyN/2L+aDIe5/Ec3w0ZFjsWk9tinHcr7W26J+XYD129 +F0K++eQDCm82G/WCf+bOyV0+HItIiLp9iT6MsecnooV1F63w2Zpcivq2FLIsaKezJ02 d1XA== X-Gm-Message-State: AKwxytdPSOIrVVgXykqMPHsf+zrglTs0wXGRKMF87Pujl1+xTBZ4bGQK oY8i6HmTIQJIVqkjCwMzUWEi97c6mnH96JtOln0= X-Received: by 10.200.9.82 with SMTP id z18mr10517778qth.87.1516810968701; Wed, 24 Jan 2018 08:22:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.175.35 with HTTP; Wed, 24 Jan 2018 08:22:48 -0800 (PST) In-Reply-To: <20180124100828.GD19593@lenoch> References: <20180124100604.GA19593@lenoch> <20180124100828.GD19593@lenoch> From: Andy Shevchenko Date: Wed, 24 Jan 2018 18:22:48 +0200 Message-ID: Subject: Re: [PATCH v2 3/3] mtd: nand: davinci: Use devm_ioremap_shared_resource() To: Ladislav Michl Cc: Linux Kernel Mailing List , "open list:MEMORY TECHNOLOGY..." , Thomas Gleixner , Tom Lendacky , Borislav Petkov , Ingo Molnar , Lorenzo Pieralisi , Philippe Ombredanne , Kate Stewart , Greg Kroah-Hartman , Boris Brezillon , Dmitry Torokhov , Bjorn Helgaas , Wei Yongjun Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 24, 2018 at 12:08 PM, Ladislav Michl 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