Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2892670pxb; Mon, 25 Jan 2021 01:08:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbyy/cwZqoMhQPTkK1Ps1ki7fJpIIlK8aA1jRPK1f6MPNFxi4agqJ3pmKNqB2LYbfCtlBx X-Received: by 2002:a17:906:3945:: with SMTP id g5mr191330eje.514.1611565716638; Mon, 25 Jan 2021 01:08:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611565716; cv=none; d=google.com; s=arc-20160816; b=rKENeqZLiaf9702NwEzKh/86/6epMH31c6CUvE6gB3POqIkmTu4WQaGqcDOjPSHYgD qu2rwqCW69V84PFktl8QIdZhwGJCPdvPvVW67UoDQInNxcAwHm/JYf6pP9cgcy9yZuu7 M8raniMUrxhm9iExQ1ilsouqxkG5BZOCOpoSwPsUS++QEU649uCzauX1seJIMfPXAMXa 7JVZIxtYwRp5SPQvtk8JO2EVzdysTKNRxNF+TPv78Ia/n42esexJTTJxF306SgBhArk3 1qP9PXNecDJh8uPERkeX6gOLj1wyB5Bb0Zs1jRDuoTsBa2ZrgZWYzcv0EREc4k4L9Evy I5wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=hiUJc/HdQm/xO1vbpPKcLW9aGOAJmDPSBwho7Vc1Vvo=; b=t7DW38pyLpJro8cpj51KUqruBK3D2TVolwSwoHFbmQ88U5TphDa8uW908CTMNTJt3i qp2x+AZhZ6EHJ+H435QyYEzYvhLbO6a9sD991oE82/fO7+H3UB8sPzsViUrwx3BsDhNn 2YvkfqIRJ4Q5NRKDx3RNjrpYsw72Mcd7ujgZ8JSLptKzJGXszCkHI98vK21Wylex2V9s p+lpBrHdUEKYGgXJjB5neId7nbEBgPVP5NBmQm8AmQmNQ7jxl60MB/O8L6bGQ0Y+YgF8 6s1UYxOypdkkvFcCDvj4oJwZb016rKjQkN8AhLRP8MgXfOqZAmJ6YowjnOjK3BdFRWyw gfqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t5si5802973ejy.497.2021.01.25.01.08.03; Mon, 25 Jan 2021 01:08:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726056AbhAYI60 (ORCPT + 99 others); Mon, 25 Jan 2021 03:58:26 -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-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: linux-kernel@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