linux/drivers/usb/otg
Cesar Eduardo Barros 63a1307930 usb: phy: mv-otg: use to_delayed_work instead of cast
Directly casting a work_struct pointer to a delayed_work is risky if the
work member of struct delayed_work is ever moved from being the first
member.

Instead, use the inline function to_delayed_work(), which does the same
cast in a safer way (using container_of).

Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-01-18 15:08:42 +02:00
..
ab8500-usb.c usb: remove use of __devexit 2012-11-21 13:27:17 -08:00
fsl_otg.c usb: remove use of __devexit 2012-11-21 13:27:17 -08:00
fsl_otg.h usb: otg: fsl: Start using struct usb_otg 2012-02-13 13:35:25 +02:00
gpio_vbus.c usb: otg: support for multiple transceivers by a single controller 2012-06-25 14:05:35 +03:00
isp1301_omap.c usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
Kconfig usb: otg: Fix build errors if USB_MUSB_OMAP2PLUS is selected as module 2012-10-30 14:37:07 +02:00
Makefile usb: otg: add basic mxs phy driver support 2012-07-09 09:59:23 -07:00
msm_otg.c usb: remove use of __devexit 2012-11-21 13:27:17 -08:00
mv_otg.c usb: phy: mv-otg: use to_delayed_work instead of cast 2013-01-18 15:08:42 +02:00
mv_otg.h usb: otg: mv_otg: Start using struct usb_otg 2012-02-27 15:41:22 +02:00
mxs-phy.c usb: phy: mxs-phy: add set_suspend API 2013-01-18 15:03:25 +02:00
nop-usb-xceiv.c usb: remove use of __devexit 2012-11-21 13:27:17 -08:00
otg_fsm.c usb: otg: fsl: Start using struct usb_otg 2012-02-13 13:35:25 +02:00
otg_fsm.h usb: otg: fsl: Start using struct usb_otg 2012-02-13 13:35:25 +02:00
otg.c usb: otg: Remove the unneeded NULL check 2012-08-09 14:36:58 +03:00
twl4030-usb.c usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
twl6030-usb.c usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
ulpi_viewport.c usb: otg: ulpi: Start using struct usb_otg 2012-02-13 13:35:56 +02:00
ulpi.c usb: otg: ulpi: Start using struct usb_otg 2012-02-13 13:35:56 +02:00