From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D2BFC3A59F for ; Thu, 29 Aug 2019 14:48:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DEA8120644 for ; Thu, 29 Aug 2019 14:48:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727144AbfH2Oss (ORCPT ); Thu, 29 Aug 2019 10:48:48 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:44102 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726518AbfH2Oss (ORCPT ); Thu, 29 Aug 2019 10:48:48 -0400 Received: by mail-oi1-f194.google.com with SMTP id k22so2709520oiw.11; Thu, 29 Aug 2019 07:48:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hiAHa/voyVoH1QYery5m4rcBu4D5Fm5KhAfRtZkvLYc=; b=e598WGKRCD9ObOeLTHGjPSqb7Z0dYfuKPVPfkHsE6Z3x6UpbN3SN/PxYU2IqUU080d wQhVfISwFKXUoW9Zjv1WQeNDS8/znjgedYTjCF8ncsPAe7UAwh/HTZCwOygqVurZMUIk /sjf2xOCQgu00Sgp4GfLcppFhwUhMYdVDKXVy5YgIo8ZlOWLr8h1Pi9upRSyLCuoAjhK GBPTLJDpnPFGDnqTL1UiwI0kbqU2oJKH1BQf7P7WFcr/xVc68bYHZ7vH4xvFuz4tQ2vJ GHwNvxHTRhDO8p8844mH5qrRP12MysNGkj/XOuSREw/rtWoEVFmOJYABLcOxQotsdUhI 72EQ== X-Gm-Message-State: APjAAAVf5WooS6VAXuyFh9wsTFQRThOnJuM9oBFMpRRwnqs27YOxh9KY qmcEs3yTOz0Cy0/npy+6c9L3acinTkMWnsdziRU= X-Google-Smtp-Source: APXvYqzVzozGOwks5QWXJdwAqpHzNYHb0M9r4XWLvaaHNaQd3/t/cwLqEmG48jVTfERS0tta0PFe8HvjWD3HWdEXY1A= X-Received: by 2002:aca:3382:: with SMTP id z124mr6945510oiz.102.1567090127215; Thu, 29 Aug 2019 07:48:47 -0700 (PDT) MIME-Version: 1.0 References: <20190829143742.24726-1-brgl@bgdev.pl> In-Reply-To: <20190829143742.24726-1-brgl@bgdev.pl> From: Geert Uytterhoeven Date: Thu, 29 Aug 2019 16:48:36 +0200 Message-ID: Subject: Re: [PATCH 0/9] drivers: add new variants of devm_platform_ioremap_resource() To: Bartosz Golaszewski Cc: Jonathan Corbet , Greg Kroah-Hartman , "Rafael J . Wysocki" , Alban Bedel , Linus Walleij , Arnd Bergmann , Geert Uytterhoeven , "open list:DOCUMENTATION" , Linux Kernel Mailing List , "open list:GPIO SUBSYSTEM" , Julia Lawall , Bartosz Golaszewski , Christoph Hellwig Content-Type: text/plain; charset="UTF-8" Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Hi Bartosz, On Thu, Aug 29, 2019 at 4:38 PM Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The new devm_platform_ioremap_resource() helper has now been widely > adopted and used in many drivers. Users of nocache and write-combined > ioremap() variants could profit from the same code shrinkage. This > series provides two new versions of devm_platform_ioremap_resource() > and uses it in a few example drivers with the assumption that - just > like was the case previously - a coccinelle script will be developed > to ease the transition for others. Please be aware that the number of ioremap() variants is being reduced, as some of them are redundant (e.g. ioremap() already creates an uncached mapping, so ioremap_nocache() is not needed). So less is better than more ;-) https://lore.kernel.org/lkml/20190817073253.27819-1-hch@lst.de/ Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds