[PATCH] i2c: convert ds1374 to use a workqueue
authorJean Delvare <khali@linux-fr.org>
Fri, 31 Mar 2006 21:05:01 +0000 (23:05 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 14 Apr 2006 18:18:33 +0000 (11:18 -0700)
commit524465df2accf54604cb89c04dbaab0c8aaa5bb4
tree2fd935549b981ae0c60b7fe6a50aa71b9a377347
parentf043ca43c1ae354346f72dc5826d820d5619f0b2
[PATCH] i2c: convert ds1374 to use a workqueue

A tasklet is not suitable for what the ds1374 driver does: neither sleeping
nor mutex operations are allowed in tasklets, and ds1374_set_tlet may do
both.

We can use a workqueue instead, where both sleeping and mutex operations
are allowed.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Randy Vinson <rvinson@mvista.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/chips/ds1374.c