lkml.org 
[lkml]   [2019]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 0/9] drivers: add new variants of devm_platform_ioremap_resource()
    Hi Bartosz,

    On Thu, Aug 29, 2019 at 4:38 PM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
    > From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
    >
    > 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

    \
     
     \ /
      Last update: 2019-08-29 16:49    [W:4.247 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site