Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2391779rwb; Thu, 29 Sep 2022 09:35:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4FhO08USe4dzwgYkYomwKeZKtFJ7oY1yLHLZbt1tzFdXoTIrbaSEk3tjrnFdSxmhbcvfOo X-Received: by 2002:a17:907:dac:b0:782:95fa:545c with SMTP id go44-20020a1709070dac00b0078295fa545cmr3444771ejc.277.1664469346881; Thu, 29 Sep 2022 09:35:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664469346; cv=none; d=google.com; s=arc-20160816; b=zWg8xToPAwHYs/kOFYooCPnblLBiayJ+fqj/Z82emMF6AIySZdWuZI8IiOFrJeXWsD X4Jq7tBKYn+AGJQoqk5WbmbXZKyQECDYlpLZskFsd9cNgSgmmGib1M08LaF4mPKIeUXT 0SNoO+5tDi8iyymgpB/yaXEF3t9Ti970vUfzkOoT0RrNEJU/2TVo5OR8SDrfSgkde/UV u7B7XF/WFhG2A3jj9AgbX2ldhkP52wfR1KwyqGHASIUHR4P8e6IuMJnGhA1NBeIoX64Q 3zMLd6cpzTeoDH4iZVC7YL94RGTTzheQNlS4J8KkSO4kehA+btKsA4E0wfEuNZXf017D DPlw== 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:date:subject:cc:to:from :dkim-signature; bh=DWObYA2TtwBbzJGrssO5YEYPxOnVZ4pCjCKMQhd93g0=; b=pPIl8ljp11wLA468F9ugyRBhK5c68ISAA83JLAdaG74tsSY3EiiPReN+xmDhrzVW2q oi11zqeGfmXjTG+aN8Ux2NJN1oAftFaKYYthSeAzQpaJnerBCT6OZohFpLxRiwziAjYf lCeU0GOD/Q2e6qdkQPPmVCOAz5DL5BPqpmimU3D/f7wmfIxnnYIl82UsguMD6qZHH0LW fd7ziuhw3GW/h7MomNlNyUAg8OqaiGEPFdP60eDcdQ1VMuvxz6oFlRGj4KXwV7Cc6vsg xTsZsVp5f527htxTGQ3tOPoIymSLXCJLDNMtJHPPrACdNCOZw0P2H87KYjwJkmkxltZt QSnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=U3rIGTmV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a16-20020a1709064a5000b007269ef1872esi7071326ejv.897.2022.09.29.09.35.18; Thu, 29 Sep 2022 09:35:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=U3rIGTmV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236312AbiI2QVd (ORCPT + 99 others); Thu, 29 Sep 2022 12:21:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236202AbiI2QTo (ORCPT ); Thu, 29 Sep 2022 12:19:44 -0400 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F009D6336 for ; Thu, 29 Sep 2022 09:19:36 -0700 (PDT) Received: by mail-io1-xd35.google.com with SMTP id z191so1284910iof.10 for ; Thu, 29 Sep 2022 09:19:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; 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=DWObYA2TtwBbzJGrssO5YEYPxOnVZ4pCjCKMQhd93g0=; b=U3rIGTmVgdJ7GvqreNNqC0Ws6jBuabrs0OsqDzmY2fYjy6UvTcDXzF9QeKjy4ncJYv XpZi2bIJMCeNZDcoY5p1X44jzergr2XPqcvYjuXC5PdQm2Dn+JjvfnBwRqGwRqY3vilx j6rTCgKQNbk41Fzwvu2lvtHr/CVndEwxMd0r0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=DWObYA2TtwBbzJGrssO5YEYPxOnVZ4pCjCKMQhd93g0=; b=Vpfa7abUACDZd28hul9FByPKVEwhkK+znuOZCYNVp9ZgN6tgLgj1SBlC6XVEdz5e+i bPtEoPpj5ICTUWKz5fTXX4jR1WNrpn1rAElAMjI3Og0C8Dvskyk+LlCweq70boUr5NxN WxFM/p9JQnmqrt1ET73BmH1SJNbw7vd/MzigFXYXDnQ6sI3WvatGiORoOQWPjZVgE6sq sqRWvxCSeWdhwpK8HzCX0pGQ5q0c4W1eAFWW65r00rNbEmm62orFD+/tpnYkjLTcLbvg wUAMQoXoNhfulFn2EVwDEPND14xvZ/cJ5cx3f12bM/a8kFsU5F5LVDqyY8ar1qw+9iwe bbOw== X-Gm-Message-State: ACrzQf1BxjXVRoZ2URC5mnK5IICHNviXAB1pNt78tUIhEr41vq0120cD +XGR6VMl/h+on+SBRWwSE32uQA== X-Received: by 2002:a05:6638:1407:b0:35a:4d1c:10ef with SMTP id k7-20020a056638140700b0035a4d1c10efmr2231570jad.119.1664468376672; Thu, 29 Sep 2022 09:19:36 -0700 (PDT) Received: from rrangel920.bld.corp.google.com (h24-56-189-219.arvdco.broadband.dynamic.tds.net. [24.56.189.219]) by smtp.gmail.com with ESMTPSA id f12-20020a02848c000000b0035aab2f1ab1sm2965451jai.134.2022.09.29.09.19.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 09:19:36 -0700 (PDT) From: Raul E Rangel To: linux-acpi@vger.kernel.org, linux-input@vger.kernel.org Cc: andriy.shevchenko@linux.intel.com, dmitry.torokhov@gmail.com, hdegoede@redhat.com, rafael@kernel.org, mika.westerberg@linux.intel.com, mario.limonciello@amd.com, timvp@google.com, linus.walleij@linaro.org, jingle.wu@emc.com.tw, Raul E Rangel , linux-kernel@vger.kernel.org Subject: [PATCH v6 13/13] Input: raydium_ts_i2c - Don't set wake_capable and wake_irq Date: Thu, 29 Sep 2022 10:19:17 -0600 Message-Id: <20220929093200.v6.13.Ia0b24ab02c22125c5fd686cc25872bd26c27ac23@changeid> X-Mailer: git-send-email 2.37.3.998.g577e59143f-goog In-Reply-To: <20220929161917.2348231-1-rrangel@chromium.org> References: <20220929161917.2348231-1-rrangel@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The i2c-core will now handle setting the wake_irq and wake capability for DT and ACPI systems. Signed-off-by: Raul E Rangel --- (no changes since v1) drivers/input/touchscreen/raydium_i2c_ts.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/input/touchscreen/raydium_i2c_ts.c b/drivers/input/touchscreen/raydium_i2c_ts.c index 66c5b577b791d4f..88d187dc5d325f6 100644 --- a/drivers/input/touchscreen/raydium_i2c_ts.c +++ b/drivers/input/touchscreen/raydium_i2c_ts.c @@ -1185,15 +1185,6 @@ static int raydium_i2c_probe(struct i2c_client *client, return error; } - /* - * The wake IRQ should be declared via device tree instead of assuming - * the IRQ can wake the system. This is here for legacy reasons and - * will be removed once the i2c-core supports querying ACPI for wake - * capabilities. - */ - if (!client->dev.power.wakeirq) - dev_pm_set_wake_irq(&client->dev, client->irq); - error = devm_device_add_group(&client->dev, &raydium_i2c_attribute_group); if (error) { -- 2.37.3.998.g577e59143f-goog