git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
365ad2f
)
I2C: isp1301 workqueue fixes
author
Dirk Behme
<dirk.behme_at_gmail.com>
Tue, 2 Jan 2007 20:33:43 +0000
(12:33 -0800)
committer
Tony Lindgren
<tony@atomide.com>
Tue, 2 Jan 2007 20:33:43 +0000
(12:33 -0800)
Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/chips/isp1301_omap.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/chips/isp1301_omap.c
b/drivers/i2c/chips/isp1301_omap.c
index
2a7547f
..
8e5585b
100644
(file)
--- a/
drivers/i2c/chips/isp1301_omap.c
+++ b/
drivers/i2c/chips/isp1301_omap.c
@@
-1119,9
+1119,9
@@
static u8 isp1301_clear_latch(struct isp1301 *isp)
}
static void
-isp1301_work(
void *data
)
+isp1301_work(
struct work_struct *work
)
{
- struct isp1301 *isp =
data
;
+ struct isp1301 *isp =
container_of(work, struct isp1301, work)
;
int stop;
/* implicit lock: we're the only task using this device */
@@
-1525,7
+1525,7
@@
static int isp1301_probe(struct i2c_adapter *bus, int address, int kind)
if (!isp)
return 0;
- INIT_WORK(&isp->work, isp1301_work
, isp
);
+ INIT_WORK(&isp->work, isp1301_work);
init_timer(&isp->timer);
isp->timer.function = isp1301_timer;
isp->timer.data = (unsigned long) isp;