lkml.org 
[lkml]   [2019]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 01/10] leds: pca953x: Use of_device_get_match_data()
    On Fri, Oct 4, 2019 at 11:43 PM Stephen Boyd <swboyd@chromium.org> wrote:
    > This driver can use the of_device_get_match_data() API to simplify the
    > code. Replace calls to of_match_device() with this newer API under the
    > assumption that where it is called will be when we know the device is
    > backed by a DT node. This nicely avoids referencing the match table when
    > it is undefined with configurations where CONFIG_OF=n.
    >
    > Cc: Arnd Bergmann <arnd@arndb.de>
    > Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    > Cc: Riku Voipio <riku.voipio@iki.fi>
    > Cc: Rob Herring <robh+dt@kernel.org>
    > Cc: Frank Rowand <frowand.list@gmail.com>
    > Cc: Jacek Anaszewski <jacek.anaszewski@gmail.com>
    > Cc: Pavel Machek <pavel@ucw.cz>
    > Cc: Dan Murphy <dmurphy@ti.com>
    > Cc: <linux-leds@vger.kernel.org>
    > Signed-off-by: Stephen Boyd <swboyd@chromium.org>

    Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

    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-10-07 10:02    [W:4.328 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site