Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1408701pxb; Fri, 20 Nov 2020 08:47:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwp4/A7U/OkxGfzjGvJ9cIp+amhFvP7BiIKIdOOfDlMmdwQ0YSUWs6miJmmUezkChCFWjcf X-Received: by 2002:a50:fc85:: with SMTP id f5mr7017533edq.225.1605890832072; Fri, 20 Nov 2020 08:47:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605890832; cv=none; d=google.com; s=arc-20160816; b=rgWDUSt4fv2r+r30GI43beUAdKq6Eb2lm+O8E225J1o3vcCNVKmYttFhZOUxUMVLEx PEPKCuaOvKGeErXCMgJlrGo6lHPYY+IRFUfw8vZ5hOAZZ39GeUDt7tFKjgs/yDfbepe0 oAROn6xWOa6RbzLchH3BTuZwzkP76UxuHSA4zT14pcYUL2CDGLCBMMwUrt4SbFJja5tg fnujAta0x8YFvd7G49hFWivCf25KAjjn1wuXtVNchZMoK9VeeQKUtGyx1AvZPsePp9IH iwbDITJMSZ1V7/PjCqoqZZ/GNVENaEqqhiMTWgZ8riAfTGTZzRg9EUj1W75C3ThVNRwR 0HIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=TVRjh5LcXcsUHd5CVwN6hPf6GliZjVNB2T97nxHrwic=; b=MBgBo7owFTl9i3c166qQs4DJ0f1rLfyuDLlv27Opui6hAfT4VYC3qfVnB2G5YywNcY xC6KDZWeet71X//XVVcm2Q7jag9Z/w47ize7WCv29Aw/9uiT9e9YtuSdrmdY08ItwAq/ a96tqWFP0LJQQCMheDn9aR4Vn82MVP4GVhlyC15gBAvHSq5nwOLycIK4a02tDGa+XDzW 3fwAE7YEaR2ZWrVUZobUxh2tqbpIB10fUOCekToVwAjQDH6IkpdopsSDdgJ+RqGph1X2 iTiO6QkKws8lbvxyErHk+ybmB2kDInDcEAlY8uplQMXkQcp/d4SePyX0enqGqc4fiQMq jcFA== 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 h12si1979747edr.588.2020.11.20.08.46.46; Fri, 20 Nov 2020 08:47:12 -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 S1730139AbgKTQlf convert rfc822-to-8bit (ORCPT + 99 others); Fri, 20 Nov 2020 11:41:35 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:35793 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730135AbgKTQlf (ORCPT ); Fri, 20 Nov 2020 11:41:35 -0500 Received: by mail-lj1-f196.google.com with SMTP id 11so10709142ljf.2 for ; Fri, 20 Nov 2020 08:41:33 -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:content-transfer-encoding; bh=FYUJrt/cdoLWfO/PR6fRIZ6/TTxRx6cD8lQN9Lmf82w=; b=o1A6GAYHi4D2l6Nyg3DqHsZWs1gwCa6OjjjTZh9WQ5PZOjDe3rdngAbQAWUje9KIGl VxAX9GY2DuQRtob8te50ZSpKLKxWQxqdmBLafdVC+OPtuJ/wM0SEFh2lLYrbgWb2/IFy 26qe/Sw7fGLx+HKt2PXH02L1VNPLTlnR1xBgu1S/FbnmbMOPLdIWYrE07VKrxodNexQn cUggyR0Mhp/o9czURepmr/Q3jfwzDM9W4u1OcRhr+if27CCrVyJGPwOztGKqH5E/0/y7 +WF06uh2Ze6+d85ZGqN0hKTArFDuscN4OvMIFRYESrcnquyBm0es6WMtQABYFKcu0yFa m2Qg== X-Gm-Message-State: AOAM533BljxIMjf64jEuZSCV30XjuUtgmUuwFZfI8iC/QLI+GlK9nU/E 8DETNw4Ro3Dp7QBv5Mie+pwbqVzifRfs4A== X-Received: by 2002:a2e:3210:: with SMTP id y16mr8715669ljy.395.1605890493088; Fri, 20 Nov 2020 08:41:33 -0800 (PST) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com. [209.85.167.45]) by smtp.gmail.com with ESMTPSA id f27sm330070ljo.34.2020.11.20.08.41.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Nov 2020 08:41:32 -0800 (PST) Received: by mail-lf1-f45.google.com with SMTP id d17so14312103lfq.10 for ; Fri, 20 Nov 2020 08:41:32 -0800 (PST) X-Received: by 2002:a19:8605:: with SMTP id i5mr8803997lfd.356.1605890492518; Fri, 20 Nov 2020 08:41:32 -0800 (PST) MIME-Version: 1.0 References: <20201120162133.472938-1-krzk@kernel.org> <20201120162133.472938-15-krzk@kernel.org> In-Reply-To: <20201120162133.472938-15-krzk@kernel.org> From: Chen-Yu Tsai Date: Sat, 21 Nov 2020 00:41:20 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 15/16] mfd: axp20x: skip of_device_id table when !CONFIG_OF To: Krzysztof Kozlowski Cc: linux-kernel , Lee Jones Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 21, 2020 at 12:22 AM Krzysztof Kozlowski wrote: > > The driver can match either via ACPI or OF. Its of_device_id table is > referenced via of_match_ptr() so it will be unused for !CONFIG_OF > builds: > > drivers/mfd/axp20x-i2c.c:60:34: warning: ‘axp20x_i2c_of_match’ defined but not used [-Wunused-const-variable=] > > Signed-off-by: Krzysztof Kozlowski Acked-by: Chen-Yu Tsai