lkml.org 
[lkml]   [2011]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Input: h3600_ts_input - bugfix for request_irq()/free_irq() parameters
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


\
 
 \ /
  Last update: 2011-04-28 18:29    [W:0.568 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site