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 5643FC74A5B for ; Fri, 17 Mar 2023 11:20:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229916AbjCQLUm (ORCPT ); Fri, 17 Mar 2023 07:20:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229886AbjCQLUk (ORCPT ); Fri, 17 Mar 2023 07:20:40 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 721ABBE5CB; Fri, 17 Mar 2023 04:20:11 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id ix20so4959334plb.3; Fri, 17 Mar 2023 04:20:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679052010; 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=LUsFZcElnirxMxsGWtP7RpSM3YXWjq7ve24NpjNKOq4=; b=ciczQQTdLiTc+HUCmmexi03FzlaRtMQGL18B7mO7Hq8hZFnn/xcgnVIlZP1IcGIY0G yWUuxuH85wIKkiFfQYkCxR3UUpKJZvAC/CUK1tdNSQ3y0LVfArFj1w1yDhciKsFWKP5+ gvgvGXUlm3sfuK0J3eLG1AD6f59ECtjWIy3ygCKErSpNbxcZQFtg5n16Mm+v7/83OvVi cvt1M0/Pfr+2Fe9mzDwXetgSZXCTmNqq3EPawocTbkYT3eZ6m6/xccPjitzWR9zaHRJW JUsAck+XGGz57+s6BgWJLJkUcfXUImEkUHbbJ0EJyKDINWt6f30XQgVM9Q0cSMQuvbOH n8gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679052010; 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=LUsFZcElnirxMxsGWtP7RpSM3YXWjq7ve24NpjNKOq4=; b=rf9q8M3Gmt8FXkQAfdDC/ammt9mLUR/qz8Zf+1cfTuo18JGfruM+DHSwAeljkCAOA3 LZyTWHAGPeR/NYrgF5JfaB0OLyg6wztEkHFSd6NfMo+PswUgm8PJl+JBANHApVA4Jd/U LpqSbNHlGZ1+9186dulcUeuvF+sgmZqZpOA3xu57btQUXNXoto9+563ISm9eey5ll88w vD++th0ydqKhnPb9bmVybRe3jWGPiKmK+8iEDbvJxCq+7mN+ZIZZeElPqMDqOiqjN9EC 3PRcmhHe7ABzo3hFjFu+LxooEaxgfsS8IzKbjGuKGVp7LI/nRN3a77eZIYp8TQgmrXCP WVRw== X-Gm-Message-State: AO0yUKX+am8nlNDsfFu1V9Wcc5KJfcQAMR/+v9M+iNems29Bh6ddr2n1 gCqFRtEvHMrwHznofx4mpQI= X-Google-Smtp-Source: AK7set+cnEYFS/OwqzUJQae17ZAKvPAAq2PqJq+ey3hbHNcnG3FI0vSYRDvIEbGSDE3UZCfx+Tnbvg== X-Received: by 2002:a17:90b:4d86:b0:23d:5196:eca8 with SMTP id oj6-20020a17090b4d8600b0023d5196eca8mr7890564pjb.20.1679052010159; Fri, 17 Mar 2023 04:20:10 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:d084:8252:e846:af61]) by smtp.gmail.com with ESMTPSA id ca20-20020a17090af31400b00233d6547000sm1187175pjb.54.2023.03.17.04.20.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Mar 2023 04:20:09 -0700 (PDT) Date: Fri, 17 Mar 2023 04:20:06 -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 2/4] Input: tm2-touchkey: drop of_match_ptr for ID table Message-ID: References: <20230312131514.351603-1-krzysztof.kozlowski@linaro.org> <20230312131514.351603-2-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-2-krzysztof.kozlowski@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 12, 2023 at 02:15:12PM +0100, Krzysztof Kozlowski wrote: > The driver will match mostly by DT table (even thought there is regular > ID table) so there is little benefit in of_match_ptr (this also allows > ACPI matching via PRP0001, even though it might not be relevant here). > This also fixes !CONFIG_OF error: > > drivers/input/keyboard/tm2-touchkey.c:335:34: error: ‘tm2_touchkey_of_match’ defined but not used [-Werror=unused-const-variable=] > > Signed-off-by: Krzysztof Kozlowski Applied, thank you. -- Dmitry