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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 C1063C433E0 for ; Mon, 25 Jan 2021 08:58:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6CC7922D71 for ; Mon, 25 Jan 2021 08:58:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725864AbhAYI5y (ORCPT ); Mon, 25 Jan 2021 03:57:54 -0500 Received: from mail-oo1-f51.google.com ([209.85.161.51]:46900 "EHLO mail-oo1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725984AbhAYImu (ORCPT ); Mon, 25 Jan 2021 03:42:50 -0500 Received: by mail-oo1-f51.google.com with SMTP id n127so3079760ooa.13; Mon, 25 Jan 2021 00:42:31 -0800 (PST) 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=hiUJc/HdQm/xO1vbpPKcLW9aGOAJmDPSBwho7Vc1Vvo=; b=X5mk8mcNrOSfNlO6pnwBFWN+OMwgK/AslZ75JVOD0t8Zn+mqHOSWx46xSNMt39CUr8 TTAuJTXBxA7JP7FT/JCdX+7WecJfJHJJrwAi7x+KL9gUGV37XhmVVH2g0hCZqKfshlql 50aQXxiiRYUl5hieptZ46Qp04lVDnZW2LxdfPMCvrD18vZti5ui/J4CCWlw51FU4FxSY Cta+bqLNJeUeYlFkw5a6vpMX5M+r5pubQKiKpnyCDmd2bxajh11W0qW45UHRS+vI2NT4 ShQQCXWro4IpjPEW4e6AuivkxV7LV1e4XqHH+OkfAIGPb01a/DFEESuImpwReoiyolf9 wqFQ== X-Gm-Message-State: AOAM5314sYRS3bPCB6Zp4X2r2NM2r4eFoNJWDyUCL8TDchChz9EV54Y9 S1Y0pAS9ES9G3xhRuBcuk2b0epEDV0bWSfKvN9u+JXZ+ X-Google-Smtp-Source: ABdhPJypBNe753D1tSXL7zrIq5K8wvq7SGNoPpWkP+tJo7lzRLWoSlBhA+bakJXgepB3QEIcn+vKD5ghu3CoO1Udifs= X-Received: by 2002:a05:6830:15cc:: with SMTP id j12mr946904otr.145.1611563479678; Mon, 25 Jan 2021 00:31:19 -0800 (PST) MIME-Version: 1.0 References: <20210123034428.2841052-1-swboyd@chromium.org> <20210123034428.2841052-2-swboyd@chromium.org> In-Reply-To: <20210123034428.2841052-2-swboyd@chromium.org> From: Geert Uytterhoeven Date: Mon, 25 Jan 2021 09:30:58 +0100 Message-ID: Subject: Re: [PATCH v2 1/6] media: renesas-ceu: Use of_device_get_match_data() To: Stephen Boyd Cc: Rob Herring , Linux Kernel Mailing List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Mauro Carvalho Chehab , Jacopo Mondi , Arnd Bergmann , Jacopo Mondi , Mauro Carvalho Chehab , Rob Herring , Frank Rowand , Linux Media Mailing List , Linux-Renesas Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Sat, Jan 23, 2021 at 4:44 AM Stephen Boyd wrote: > This driver can use the replacement API instead of calling > of_match_device() and then dereferencing the pointer that is returned. > This nicely avoids referencing the match table when it is undefined with > configurations where CONFIG_OF=n. > > Signed-off-by: Stephen Boyd Reviewed-by: Geert Uytterhoeven 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