]> git.baikalelectronics.ru Git - kernel.git/commit
usb hub: use flush_work instead of flush_work_sync
authorOctavian Purdila <octavian.purdila@intel.com>
Tue, 23 Oct 2012 08:33:12 +0000 (11:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 02:58:07 +0000 (19:58 -0700)
commit1562c8a49e045f7c79d4ceb573be00246c60b36c
treee66c9cdc9fa1f5640a2d6324cc850cda73c1bd39
parent0c715d077533d60c01cae0625c353c98ddafbb98
usb hub: use flush_work instead of flush_work_sync

flush_work_sync and flush_work are now the same and flush_work_sync
has been deprecated. This fixes the following warning:

drivers/usb/core/hub.c: In function hub_quiesce:
drivers/usb/core/hub.c:1216:3: warning: flush_work_sync is deprecated (declared at include/linux/workqueue.h:448) [-Wdeprecated-declarations]

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c