From patchwork Sun Mar 12 13:15:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13171362 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 74A87C74A4B for ; Sun, 12 Mar 2023 13:17:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230347AbjCLNRU (ORCPT ); Sun, 12 Mar 2023 09:17:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230249AbjCLNRC (ORCPT ); Sun, 12 Mar 2023 09:17:02 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AC7B46168 for ; Sun, 12 Mar 2023 06:15:55 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id cn21so8323923edb.0 for ; Sun, 12 Mar 2023 06:15:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678626917; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Y4NIviSFBdopEf8zQTdl2J1MRzQXgxaliBaSLt4RpAk=; b=H0gAYKteJZspYXhBQb75omimqMlU/3ICKO865cyDwNVHcSV9El2GPK8iBANJpw4WTf uSlYknNPoNxmPDr1cayhoMMjioXKbh4JISMQSYYm50XfVL2OKtKt3ELm4uC+ufpuY/Pz gV8aFkz2EZowNSm/luHBng1oXIHab6hjItQRMnAuD4l/bXp8VooAIhXV+R2EQbZlhZRz yMz6nQ7cZxqoa4ZD77/BpLScxsDjqOyUnep1ya6MNgVSBFInP5yZwunhFzyx+2g9Sy2v A3JwbUJBRAAt6rAsKIaqTLYEbHiCCWi641dSnbv4jP8NE3eeKhAU6dR0Rfz/Yxju+0cc sgHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678626917; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Y4NIviSFBdopEf8zQTdl2J1MRzQXgxaliBaSLt4RpAk=; b=7mh5I0xJSsG+xfWoAddVwaqhznAsoauslDK3781H8k2xVQe4idK39BFRDnT2bjQS7L EhUvjCDhpr5GPpRUCNcWqP42wiGjQmLzWHQv7jo/SFdI50o90IoCb2IPXYyUOVv5eEDu h6Ad+63cWzRsS3lNBrb9My4fMLhUXh1dhn1LkVpZA1+1WREDQwk0Ey1FJ7eMGEiUp8se H7MgXetjkvpXXiBj9lDh7lyecEWQ+OF9IdI6trETJ5LTDLT5rMSbRoCtvq3i88ZfjJT/ AGMoxBhq8363yLK7gObx6R0QdfuofREajPAjJHYDnOAfPJZPPZfN5II/vqINJR84WLgB pzCA== X-Gm-Message-State: AO0yUKUyHFblQ1bc0lOIOCELRyteVjtmis+UBCh/Gg9IS4OPuN6dpBlc b7NrVVSNz5LfVapk4QJu7vAb9Q== X-Google-Smtp-Source: AK7set8I4cqRQbCnoLL6lvvu0JefPsaKOI2DGJq/GhcEpkC6BmWIDdihxL2/gFsjsKFFEZdmBfNu3g== X-Received: by 2002:a17:906:8d86:b0:8f9:ed75:f962 with SMTP id ry6-20020a1709068d8600b008f9ed75f962mr33585228ejc.18.1678626916875; Sun, 12 Mar 2023 06:15:16 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:d9f6:3e61:beeb:295a]) by smtp.gmail.com with ESMTPSA id h26-20020a170906399a00b00915d58e56f0sm2223493eje.77.2023.03.12.06.15.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Mar 2023 06:15:16 -0700 (PDT) From: Krzysztof Kozlowski To: Dmitry Torokhov , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 1/4] Input: st-keyscan: drop of_match_ptr for ID table Date: Sun, 12 Mar 2023 14:15:11 +0100 Message-Id: <20230312131514.351603-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org 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 --- drivers/input/keyboard/st-keyscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/st-keyscan.c b/drivers/input/keyboard/st-keyscan.c index b6e83324f97a..0d27324af809 100644 --- a/drivers/input/keyboard/st-keyscan.c +++ b/drivers/input/keyboard/st-keyscan.c @@ -259,7 +259,7 @@ static struct platform_driver keyscan_device_driver = { .driver = { .name = "st-keyscan", .pm = pm_sleep_ptr(&keyscan_dev_pm_ops), - .of_match_table = of_match_ptr(keyscan_of_match), + .of_match_table = keyscan_of_match, } }; From patchwork Sun Mar 12 13:15:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13171363 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 58EFFC74A5B for ; Sun, 12 Mar 2023 13:17:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230139AbjCLNRY (ORCPT ); Sun, 12 Mar 2023 09:17:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230101AbjCLNRF (ORCPT ); Sun, 12 Mar 2023 09:17:05 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3659553725 for ; Sun, 12 Mar 2023 06:16:04 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id g10so9637922eda.1 for ; Sun, 12 Mar 2023 06:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678626918; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nxOh2EN/qJCdB/AUoID7+RycsW+5mphdpysdI7Ju3Hg=; b=uyIkIno1RN+oNCDBVDI0qsGT2okSndTeXGTJcQFzXyprV1Rpjb734SmAziDONXGxEq KxPaUDhQJdZmOJPQ+kCwf1xmi38HS3pahM3FEvMiB/oqg41XBwD+fMzzqxSAPeb0dRJR Wh9pheSoCgsp8yknhNxTLubOA7/8HH8Nw1PjeVR22eY//P8Ea9eVHc+oc3a/NTRv69CQ iQyZuovlYjLABvFCfrdPYM1mAsKWLjgHkPDvpMjwW8Kb2CdkS8TRffHnpK/w9H/5fRY8 BA/vZLPWwj2UxlMNQTmhYezIePKPThEC7pO/8SDa7b+Ok+fCXy/c7JqXwQWCMm95bJUt /Czw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678626918; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nxOh2EN/qJCdB/AUoID7+RycsW+5mphdpysdI7Ju3Hg=; b=cSYiU3HrJxd4nR+jsJeOUPq4dSGHxyKYIYKHiZAvKbuZanm15NTSzVsE8EXu+cxMW9 20A+7xNvS2uAT724P4w7asJZ2mY+qVTQvhfZC7Y3fTjElGmdjIK6BxOkgLfr83D8eoLV M3eUr4Q5hhBZXm1aeoHfeAjkiXjFceqsP4mGp5Bn9ZlO80QEItngZMzG/IWiia4OonpY d/PDiWTMa5bWL5jAjGAGsrAXY4hXBmunEBk6Daq0/32glY/8LAu6My7ksfDVJbHZXQpc Qo3odbW7ai5/vytJB5EEm0IpWTYb47E2UnsXscjViKEKNHSacnvUl5GYTcpK2DX+pGMm kyXg== X-Gm-Message-State: AO0yUKXAjTuj+88K/1mbRuE6WB9H+jS2WPEUth3PQaE4/r80y56I+ZFV n3RZBSOd8lxhxecLCUZzRXKKLg== X-Google-Smtp-Source: AK7set/+C4BR9bpjM2BaqwdAlwYB/vsQin3IgGjNtiYc74Z75FadUJiST2dmAagBATz/RoU3GzaiRQ== X-Received: by 2002:aa7:cac2:0:b0:4aa:a280:55b5 with SMTP id l2-20020aa7cac2000000b004aaa28055b5mr7124337edt.20.1678626917875; Sun, 12 Mar 2023 06:15:17 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:d9f6:3e61:beeb:295a]) by smtp.gmail.com with ESMTPSA id h26-20020a170906399a00b00915d58e56f0sm2223493eje.77.2023.03.12.06.15.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Mar 2023 06:15:17 -0700 (PDT) From: Krzysztof Kozlowski To: Dmitry Torokhov , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 2/4] Input: tm2-touchkey: drop of_match_ptr for ID table Date: Sun, 12 Mar 2023 14:15:12 +0100 Message-Id: <20230312131514.351603-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230312131514.351603-1-krzysztof.kozlowski@linaro.org> References: <20230312131514.351603-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org 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 --- drivers/input/keyboard/tm2-touchkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/tm2-touchkey.c b/drivers/input/keyboard/tm2-touchkey.c index 6627e65f06e5..4e20571cb4c3 100644 --- a/drivers/input/keyboard/tm2-touchkey.c +++ b/drivers/input/keyboard/tm2-touchkey.c @@ -354,7 +354,7 @@ static struct i2c_driver tm2_touchkey_driver = { .driver = { .name = TM2_TOUCHKEY_DEV_NAME, .pm = pm_sleep_ptr(&tm2_touchkey_pm_ops), - .of_match_table = of_match_ptr(tm2_touchkey_of_match), + .of_match_table = tm2_touchkey_of_match, }, .probe_new = tm2_touchkey_probe, .id_table = tm2_touchkey_id_table, From patchwork Sun Mar 12 13:15:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13171364 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 D5FEBC74A4B for ; Sun, 12 Mar 2023 13:17:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230187AbjCLNRY (ORCPT ); Sun, 12 Mar 2023 09:17:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230094AbjCLNRH (ORCPT ); Sun, 12 Mar 2023 09:17:07 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C1DB5505E for ; Sun, 12 Mar 2023 06:16:04 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id y4so9053278edo.2 for ; Sun, 12 Mar 2023 06:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678626919; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KE5rFRSNY3Q/YkZ38W0hdg7THXNsJMp1iUB9or3sg9g=; b=uUKBua1FfJkWXrYCGBn5TQiQSMB3DGJXyGyAz7zuNZOkY9LPh/tUN9SULhrWlRPb4X VqQ5fMiFELPYl67wSoLgUo2gBVsQRfOJQhdYbcEVkrYoHKwWwO9ypIyV1EINLPT+ZZgs d/osUrE+wYrRJ6on3dVbN04LbfFoXC2osnX9qFd1NMjWse8ZVkMHmyHWVCIMQ5ZhSOk+ RfiYNRdla+dxqMIprKAwfvXMCRMbv5xiKuQZrvZ6z6HRLdJS1zDd+ulbHx4rJ1UnQsbp 1yb/M2VUIOL0oPrPA8szP+F84ipPUHvYimYg/OuHSzQMrWHzRLUWDV6uLfDf+tUbZNCm 7NPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678626919; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KE5rFRSNY3Q/YkZ38W0hdg7THXNsJMp1iUB9or3sg9g=; b=ItYC5q2geZiO+3Qbi6Yp4G4foQZJQyCJdWoZqufMEQODg9WeX8hjunWILeXfa9pIfQ MJ8t8bbrfaYWppF6tvjcCNwoTNQDjhEbLcBZIEP6Y1AV3x3tI7CXSiZKxs514A+KjGTr qBDNKxVI0jSqnx5GlRuT2e2AMkKkkMMF+aMHqjLqP3ZXL/7yKVm/nhrxKQluHGDBtEAu msot/oX9svRQfEQP93iT+lfxQlVkNHNoebM9PwOLuQWK8uEN8rh+odyfkRb0wCv029Kd tJMYfYA3EN7m5G5U9fn2EcrnCdBfzCoqThhSHCPnJE9Oofmy6yopxQo4esXjRebDCKkP ycEQ== X-Gm-Message-State: AO0yUKUNyordImErZEnK2bXNHVJTcWGHEGFm3U3xwN8tiiDf4804DNGI q4/pPwwqksfXD69DkZ9uSIDY84ifybZp9cW+qmk= X-Google-Smtp-Source: AK7set/jV+v2kqf8cIoZt/4tfBIC1+vmA4XuGDkG4lv/eNEAbKvFfkd5TYXPAaqHyNG91m76npWHUQ== X-Received: by 2002:a17:906:4fd5:b0:8b1:78b8:4208 with SMTP id i21-20020a1709064fd500b008b178b84208mr35553479ejw.1.1678626918819; Sun, 12 Mar 2023 06:15:18 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:d9f6:3e61:beeb:295a]) by smtp.gmail.com with ESMTPSA id h26-20020a170906399a00b00915d58e56f0sm2223493eje.77.2023.03.12.06.15.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Mar 2023 06:15:18 -0700 (PDT) From: Krzysztof Kozlowski To: Dmitry Torokhov , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 3/4] Input: sun4i-ts: drop of_match_ptr for ID table Date: Sun, 12 Mar 2023 14:15:13 +0100 Message-Id: <20230312131514.351603-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230312131514.351603-1-krzysztof.kozlowski@linaro.org> References: <20230312131514.351603-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org 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/touchscreen/sun4i-ts.c:392:34: error: ‘sun4i_ts_of_match’ defined but not used [-Werror=unused-const-variable=] Signed-off-by: Krzysztof Kozlowski Acked-by: Jernej Skrabec --- drivers/input/touchscreen/sun4i-ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/sun4i-ts.c b/drivers/input/touchscreen/sun4i-ts.c index 1117fba30020..577c75c83e25 100644 --- a/drivers/input/touchscreen/sun4i-ts.c +++ b/drivers/input/touchscreen/sun4i-ts.c @@ -400,7 +400,7 @@ MODULE_DEVICE_TABLE(of, sun4i_ts_of_match); static struct platform_driver sun4i_ts_driver = { .driver = { .name = "sun4i-ts", - .of_match_table = of_match_ptr(sun4i_ts_of_match), + .of_match_table = sun4i_ts_of_match, }, .probe = sun4i_ts_probe, .remove = sun4i_ts_remove, From patchwork Sun Mar 12 13:15:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13171365 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 BC5A9C6FA99 for ; Sun, 12 Mar 2023 13:17:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230431AbjCLNR0 (ORCPT ); Sun, 12 Mar 2023 09:17:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230199AbjCLNRJ (ORCPT ); Sun, 12 Mar 2023 09:17:09 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F80155530 for ; Sun, 12 Mar 2023 06:16:08 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id cn21so8324262edb.0 for ; Sun, 12 Mar 2023 06:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678626920; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zcxV1wX7rb47JP+vxHLlW7kUDa4wWKVgvS6sgALwgGw=; b=ODbPQ7N7rdF7EFlId0JmuPvIklOktriiSsEKOHlymmDjBH/58fkmj87U42BbMmmhzq cRpzesIUgktIYROMCwsOISO2LdxA0d+eejbFUIReTiGoA3PfZXdgEwewY/1mxTkhh29t I0E7ytga8wv2xo8zowTdmndz9vIpuU4i7T326W2NvJjYWe3k0uY0GG8Dqvgs578pLz/a 8l2WVOrhD/lFxI/iFdw90crbyThWlvt5SBWG54av//X6VxirivqwVkpUKYEIR1+PP2v0 VETS+1yD5t+Wf4SlOfCYs2YH1y/KYNnyU8FVUAH+HVhZkSCu+Hh9zN68Q0/91/nUZ1b2 82GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678626920; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zcxV1wX7rb47JP+vxHLlW7kUDa4wWKVgvS6sgALwgGw=; b=spESK7Az3KIAcmNmNBHmdbRSwUDZfH84CaPxgsMdOgt5gYsmGycfSvvu3Demp/76Wa bnxhGmKH/XFmOlFeZoUpPjQu8wPiDray1VWrdJ6L72zOggFlqCpq3Taii+xMHraj7RmJ 8HtlDvNLsxFjI7nE6076QpJQSkC7v7unnuoXferdhJhgrK7GTzmH2PwAm/taTxmqQbTy 2yBhGuZ6Y7hxoFVoZ0oWQ7I6AlRL7vlWEtn23PpqL298wqLgD9v9ymblcZcNbwSTXf4z 0Cf5eSjJKDUgop//ZHesSOhupOpJhHQfn0YMXv5JJuTFlEb5kXF48FTyGJhEmRHLuSBe FaTA== X-Gm-Message-State: AO0yUKXG1iAZm3sXOfLvEFaKGPEoU9NrA0+sh9AC9X2OAR2wVdSblV/Q 7e+Kov5wODYG+947PlCL6xa4sg== X-Google-Smtp-Source: AK7set/8w9H2snVcfgYgwSmNkJivUplw0WFZlSku0efRNPRGVxUfGIQBHRgRKDu2+ZZjdY1voLlADA== X-Received: by 2002:a17:906:58c3:b0:878:625c:c8ff with SMTP id e3-20020a17090658c300b00878625cc8ffmr40766458ejs.54.1678626920485; Sun, 12 Mar 2023 06:15:20 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:d9f6:3e61:beeb:295a]) by smtp.gmail.com with ESMTPSA id h26-20020a170906399a00b00915d58e56f0sm2223493eje.77.2023.03.12.06.15.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Mar 2023 06:15:20 -0700 (PDT) From: Krzysztof Kozlowski To: Dmitry Torokhov , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 4/4] Input: bcm_iproc_tsc: drop of_match_ptr for ID table Date: Sun, 12 Mar 2023 14:15:14 +0100 Message-Id: <20230312131514.351603-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230312131514.351603-1-krzysztof.kozlowski@linaro.org> References: <20230312131514.351603-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org 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: Signed-off-by: Krzysztof Kozlowski --- drivers/input/touchscreen/bcm_iproc_tsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/bcm_iproc_tsc.c b/drivers/input/touchscreen/bcm_iproc_tsc.c index 35e2fe9911a4..9c84235327bf 100644 --- a/drivers/input/touchscreen/bcm_iproc_tsc.c +++ b/drivers/input/touchscreen/bcm_iproc_tsc.c @@ -511,7 +511,7 @@ static struct platform_driver iproc_ts_driver = { .probe = iproc_ts_probe, .driver = { .name = IPROC_TS_NAME, - .of_match_table = of_match_ptr(iproc_ts_of_match), + .of_match_table = iproc_ts_of_match, }, };