[PATCH] mv-otg: use to_delayed_work instead of cast

2012-12-04 Thread Cesar Eduardo Barros
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

[PATCH 24/24] MAINTAINERS: remove drivers/block/ub.c

2012-11-23 Thread Cesar Eduardo Barros
This driver was removed by commit 68a5059 (block: remove the deprecated ub driver). Cc: Pete Zaitcev Cc: linux-usb@vger.kernel.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 6 -- 1 file changed, 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index e8990d2..f4934bd