From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH] Input: h3600_ts_input - bugfix for request_irq()/free_irq() parameters Date: Thu, 28 Apr 2011 09:26:20 -0700 Message-ID: <20110428162620.GA9529@core.coreip.homeip.net> References: <1302698231.3002.4.camel@phoenix> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pw0-f46.google.com ([209.85.160.46]:53000 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757751Ab1D1Q01 (ORCPT ); Thu, 28 Apr 2011 12:26:27 -0400 Content-Disposition: inline In-Reply-To: <1302698231.3002.4.camel@phoenix> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Axel Lin Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org On Wed, Apr 13, 2011 at 08:37:11PM +0800, Axel Lin wrote: > The dev field of h3600_dev is a pointer, thus use ts->dev instead of &ts->dev > as the dev_id argument while calling request_irq()/free_irq(). dev_id does not need to have specific type, it is just a cookie so as long as it's value is unique we are OK. &ts->dev works as well as ts->dev. Thanks. -- Dmitry