From: Tejun Heo Date: Fri, 24 Dec 2010 15:00:17 +0000 (+0100) Subject: mfd: update workqueue usages X-Git-Tag: v2.6.38-rc1~456^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afdb32f2e463a195c104555ac9a8cdd39a2b6561;p=pandora-kernel.git mfd: update workqueue usages flush_scheduled_work() is deprecated and scheduled to be removed. * In menelaus, flush menelaus->work directly on probe failure. Also, make sure the work isn't running on removal. * In tps65010, cancel_delayed_work() + flush_scheduled_work() -> cancel_delayed_work_sync(). While at it, remove unnecessary (void) casts on return value, and use schedule_delayed_work() and to_delayed_work() instead of using delayed_work's internal work field. Signed-off-by: Tejun Heo Cc: Samuel Ortiz --- Reading git-diff-tree failed