Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9643C7618B for ; Fri, 17 Mar 2023 11:20:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229885AbjCQLUW (ORCPT ); Fri, 17 Mar 2023 07:20:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229850AbjCQLUU (ORCPT ); Fri, 17 Mar 2023 07:20:20 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CBF77606F; Fri, 17 Mar 2023 04:19:57 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id qe8-20020a17090b4f8800b0023f07253a2cso4841024pjb.3; Fri, 17 Mar 2023 04:19:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679051997; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=0QpTAcEGna+yl0Brgjs6Bn1Df3Qs/JcBmXdFEtNXC5g=; b=YZg9RHZNhV9AbpV23NNl/0lXMU+MUi9FN4QqL+Hb4nrSE0HrJLNi2MTjtmBkjepaB8 v4pBAwLPxRthKYBdqWp9Tnzd78Vzct8z7dLJK/5X1tsAtYUNAskzND0Pyg9IcV24AJ9G 3R0Z6QZso3IjfPyJC03m7PiTKDPGS0znxpOsKsUfJaZpv9JqnKPsBPxkXs3RroV4FN1S 5EZcSw7XsrVSdJ5alGdVwwaSsRUFOvPR79O1Yz1LEeHVPPVsmeNb1rsfuYS9fAO5l++j ACokctnNgoW3iLl140V4Av989j42K3OPilWswUJhH/zyMzwqzhiaBvc2tEHkN4Fk6d55 rY6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679051997; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0QpTAcEGna+yl0Brgjs6Bn1Df3Qs/JcBmXdFEtNXC5g=; b=Mz/st4ohhNugutmseO/ZsJo4pMkvqUeslAS447MDy1qDAsB+vtUFpuLAqoz5wn+fsK ZLVv4bQSR72rbxqIJGFlgPDBRdaujk/3xJZ7aIJ7BGVOVZmBDLtKvKGV+FuxBwlE3HIj SnUu29b21T2W9FF5bbpyQ+SXft4KDmmxYe5HdUNp/QTr5QOro7nJJlOAGIRoNG5yu4vS TNCUxMyDLO3BeSeudlozuzi+VDT7eOnIIGdXtYuXvAguGx0pkgtvOChO/5Q/7axtLtu4 UymHYPpxOg0tbMqOCHF2X6U5ShIWjCe1PcjG3mxulEVj4cG6kJOnD2ezLfgQNT1yUAsD EESw== X-Gm-Message-State: AO0yUKVPHc4kUoMwcStKYhUWKJmZikNwSbJhEvTQoeLSc8/b8Mltqunz FjVUgi8pJfO3kA3UxaGnSy4DD0SE3AaR1g== X-Google-Smtp-Source: AK7set8LcvpwH/OcfmOgBd9z/URO4reQNgW2quausnEUb7s/x7XYAMDRnIMNlLgalnJzoLZoQJxJsA== X-Received: by 2002:a17:902:dacf:b0:19d:62b:f040 with SMTP id q15-20020a170902dacf00b0019d062bf040mr8295103plx.37.1679051997006; Fri, 17 Mar 2023 04:19:57 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:d084:8252:e846:af61]) by smtp.gmail.com with ESMTPSA id 12-20020a170902c10c00b0019cad2de86bsm1329122pli.156.2023.03.17.04.19.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Mar 2023 04:19:56 -0700 (PDT) Date: Fri, 17 Mar 2023 04:19:52 -0700 From: Dmitry Torokhov To: Krzysztof Kozlowski Cc: Ray Jui , Scott Branden , Broadcom internal kernel review list , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: Re: [PATCH 1/4] Input: st-keyscan: drop of_match_ptr for ID table Message-ID: References: <20230312131514.351603-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230312131514.351603-1-krzysztof.kozlowski@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 12, 2023 at 02:15:11PM +0100, Krzysztof Kozlowski wrote: > The driver can match only via the DT table so the table should be always > used and the of_match_ptr does not have any sense (this also allows ACPI > matching via PRP0001, even though it might not be relevant here). This > also fixes !CONFIG_OF error: > > drivers/input/keyboard/st-keyscan.c:251:34: error: ‘keyscan_of_match’ defined but not used [-Werror=unused-const-variable=] > > Signed-off-by: Krzysztof Kozlowski Applied, thank you. -- Dmitry