Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4415828ybc; Fri, 15 Nov 2019 04:24:14 -0800 (PST) X-Google-Smtp-Source: APXvYqzrFznnr2E0rm4w12Ed33Bqv8sC9oHB9/h35hYEmD7qna/ui+C99qVCX6SEefo2fBW66Hsb X-Received: by 2002:a17:906:69cb:: with SMTP id g11mr535700ejs.328.1573820653971; Fri, 15 Nov 2019 04:24:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573820653; cv=none; d=google.com; s=arc-20160816; b=Vr39qETyJ4M8HQjPbUHfVU2iPL35LvzzmsD53YOsUPWXD6U/qW3uP0SqLfh8UFdWDh mFpBWVYSFWwoMKXP+V55g1M+q4nvwM+dfZEhlRMlpRw1DkbfOH6RcoeZCbvFLJrLLxE1 WB8MPDcM0RTk8rx7izrh2CshxmIP1BNbgjdfHM+XvG69ePwbXlQ+akOnZzWTdLwHR9Lg p4o/r64Cc4/pdfFiivyWiyak2cdKIbxgUanfe3EAs0+jf2NFcZcvt13t33bi1WdhZX9c /jXcqiOBbis9VLQ/WTm9+2PTc4uMm7RfEQNVJ4HG7J3tAcpJoJysgb9Dj7p4PR/PfEY6 /zZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=QG3yqeyvpf0Y+cTzo2bupvmVs9G31iUQSkxgWIkAuUA=; b=jN/YpgiFYP7z+PAYhCOwAuLruiu5t8PzZSluvgNbAQUSC07bbMav3ZB9b6Tf8kDSSa WGH+bqF0Glu4hc/zY33J0sya3JM0ZrHF1Xr8oItAvz+P00YxI+3DouiWN5r2PtsL3i+p FCtGAAvJKsZgTj+biTeivkClJJGky+KagYCe47Pt3DHXY43dsfkluv23sbxk0hqDPLkY s2l8pBJEK2UXaCwSRQCZKZuMWwa9xk31xv26rUgNtjiWRXxEKYKZEqPSqWiRXAgOKIdy Erpqf92MRrCYfryA7VnlmucJ3Zu4NCzxUG6XjlXg263OE6ZbWo36UTF7EedXFdDhbsoe EJww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=f5s+aRT5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t19si5236540ejr.411.2019.11.15.04.23.49; Fri, 15 Nov 2019 04:24:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=f5s+aRT5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727365AbfKOMUd (ORCPT + 99 others); Fri, 15 Nov 2019 07:20:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:53120 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727196AbfKOMUd (ORCPT ); Fri, 15 Nov 2019 07:20:33 -0500 Received: from pobox.suse.cz (prg-ext-pat.suse.com [213.151.95.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EACE620740; Fri, 15 Nov 2019 12:20:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573820432; bh=TyM1iIX/py+lg8xnlUsnl1Ktj1Bv0w98SjBjsVImFJY=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=f5s+aRT5RFtUhbdD9AxDBU6s33IpaDN3I+jqZ5HXiLVT/LHyjD+ZXFQ4UuY4EJnFa NFl7QXylIySsPNKBvnOcRjAvmK86e1KDQsPYdfu4/1QYQqchGC7rSdqXxuBvoiSzit 2kiqT3qfPFhzq8E95RLedjNJItLyhWzcb5mv/+6g= Date: Fri, 15 Nov 2019 13:20:28 +0100 (CET) From: Jiri Kosina To: You-Sheng Yang cc: Benjamin Tissoires , Kai-Heng Feng , Hui Wang , HungNien Chen , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] HID: i2c-hid: remove orphaned member sleep_delay In-Reply-To: <20191115053646.3107290-1-vicamo.yang@canonical.com> Message-ID: References: <20191115053646.3107290-1-vicamo.yang@canonical.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 15 Nov 2019, You-Sheng Yang wrote: > This was introduced in commit 00b790ea545b ("HID: i2c-hid: Add a small > delay after sleep command for Raydium touchpanel") which has been > effectively reverted by commit 67b18dfb8cfc ("HID: i2c-hid: Remove > runtime power management"). > > Signed-off-by: You-Sheng Yang > --- > drivers/hid/i2c-hid/i2c-hid-core.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/hid/i2c-hid/i2c-hid-core.c b/drivers/hid/i2c-hid/i2c-hid-core.c > index 04c088131e04..adfe344bc786 100644 > --- a/drivers/hid/i2c-hid/i2c-hid-core.c > +++ b/drivers/hid/i2c-hid/i2c-hid-core.c > @@ -157,8 +157,6 @@ struct i2c_hid { > > bool irq_wake_enabled; > struct mutex reset_lock; > - > - unsigned long sleep_delay; > }; Applied, thanks. -- Jiri Kosina SUSE Labs