linux/drivers/net/mlx4
Jean Delvare bf6aede712 workqueue: add to_delayed_work() helper function
It is a fairly common operation to have a pointer to a work and to need a
pointer to the delayed work it is contained in.  In particular, all
delayed works which want to rearm themselves will have to do that.  So it
would seem fair to offer a helper function for this operation.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Greg KH <greg@kroah.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-02 19:04:50 -07:00
..
alloc.c
catas.c mlx4_core: Add link type autosensing 2009-03-18 19:45:11 -07:00
cmd.c
cq.c
en_cq.c
en_main.c
en_netdev.c workqueue: add to_delayed_work() helper function 2009-04-02 19:04:50 -07:00
en_params.c
en_port.c
en_port.h
en_resources.c
en_rx.c workqueue: add to_delayed_work() helper function 2009-04-02 19:04:50 -07:00
en_tx.c
eq.c mlx4_core: Add link type autosensing 2009-03-18 19:45:11 -07:00
fw.c
fw.h
icm.c
icm.h
intf.c
main.c mlx4_core: Add link type autosensing 2009-03-18 19:45:11 -07:00
Makefile mlx4_core: Add link type autosensing 2009-03-18 19:45:11 -07:00
mcg.c
mlx4.h mlx4_core: Add link type autosensing 2009-03-18 19:45:11 -07:00
mlx4_en.h
mr.c
pd.c
port.c
profile.c
qp.c
reset.c
sense.c workqueue: add to_delayed_work() helper function 2009-04-02 19:04:50 -07:00
srq.c