Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1046284pxk; Fri, 18 Sep 2020 02:22:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFizhIQ1ZiDIQ8cl9GXv7hgYOX4yzD/Cz7r81Xsf9kGo7/ULCbcHLODxrfucJMme9DgavY X-Received: by 2002:aa7:da09:: with SMTP id r9mr38035093eds.7.1600420936990; Fri, 18 Sep 2020 02:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600420936; cv=none; d=google.com; s=arc-20160816; b=1C8JckMGool2pWXROTtb3EGqrTqmbLRxFLSTB6VtU6EeZgj80UIiKMpha/odbxtw8z BJ3vukjXmJi+wsFsLd4oqxGyhNWu2ESEkbVaOuXiy3ZmmDclo4oGznCSj/fgGe/rPK+0 7+OIIHaef4/n+W9MEw/aI+WOb0Wb6uxm3xPNH0M5qwH7YaQWyjW20JJZEsvmwyf2y8cM 4J1S6Yb0qbJ61f2sIOuwnubYozR4KmkfkPeE36BuEfmbzAkgxlvg6gRzkKyNaJrFtx3X Nqwp/XGmA1UvMlYypoq4xgpYOT2ifnP+pOYk190yzmqxNgwSoWK2Hr2PSlUcBIVcvIQ/ pm/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=CaQl8j56M0X2mn9AXYGzCjuczTO+qwQB8L+9sCvSp98=; b=ao/3vpuWMlG0YhxnacxHHKGrw691YDB7BRN42sijPfSQLxArtAS3pRKkdn6OU36nUP EL9uZ8BUunT3CvYIVvqWAdwyFd1ugcafty4hdoW9v04p3oYFdf/WSKuwJAxjYybgqM/+ NreVnaEpwuPbtpcF4skyllyCJACZxTqCVpAqpGHW0zn4+RWIY0pf78cf7KgWzkptcatg ToJ6Ha9EwD7a8tyw4N16sgOCiKPgeQWwG/AP9o8Yu0r53Fqzd6Qqx5Vuz8+sgpEOkFrp RDqi2AGAvwjUGkMNoqTXAr9b+HmMvjPTQrMadFCAKxJBo+QxZQb3zq5afRLeEicOsFoQ 9KPw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nic.cz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w19si1678451ejo.726.2020.09.18.02.21.53; Fri, 18 Sep 2020 02:22:16 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nic.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726149AbgIRJVC convert rfc822-to-8bit (ORCPT + 99 others); Fri, 18 Sep 2020 05:21:02 -0400 Received: from mail.nic.cz ([217.31.204.67]:37652 "EHLO mail.nic.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725874AbgIRJVB (ORCPT ); Fri, 18 Sep 2020 05:21:01 -0400 Received: from localhost (unknown [IPv6:2a0e:b107:ae1:0:3e97:eff:fe61:c680]) by mail.nic.cz (Postfix) with ESMTPSA id AC71F140A6D; Fri, 18 Sep 2020 11:20:58 +0200 (CEST) Date: Fri, 18 Sep 2020 11:20:58 +0200 From: Marek Behun To: Sakari Ailus Cc: linux-leds@vger.kernel.org, Pavel Machek , Dan Murphy , =?UTF-8?B?T25kxZllag==?= Jirman , linux-kernel@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, Bartosz Golaszewski , Sean Wang , Matthias Brugger , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Orson Zhai , Baolin Wang , Chunyan Zhang , Thierry Reding , Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= , Lee Jones , Liam Girdwood , Mark Brown Subject: Re: [PATCH leds v2 05/50] leds: various: guard of_match_table member value with of_match_ptr Message-ID: <20200918112058.6d3b0d5d@nic.cz> In-Reply-To: <20200918061500.GD26842@paasikivi.fi.intel.com> References: <20200917223338.14164-1-marek.behun@nic.cz> <20200917223338.14164-6-marek.behun@nic.cz> <20200918061500.GD26842@paasikivi.fi.intel.com> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-100.0 required=5.9 tests=SHORTCIRCUIT, USER_IN_WELCOMELIST,USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.nic.cz X-Virus-Scanned: clamav-milter 0.102.2 at mail X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 18 Sep 2020 09:15:00 +0300 Sakari Ailus wrote: > Hi Marek, > > On Fri, Sep 18, 2020 at 12:32:53AM +0200, Marek BehĂșn wrote: > > Change > > .of_match_table = xxx, > > to > > .of_match_table = of_match_ptr(xxx), > > in various drivers. > > > > This should be standard even for drivers that depend on OF. > > After this patch, none of these drivers will work on ACPI systems anymore. Hi Sakari, I don't understand. Why not? Does ACPI subsystem parse of_match_table as well?