]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: chipidea: using one inline function to cover queue work operations
authorPeter Chen <peter.chen@freescale.com>
Fri, 23 May 2014 00:12:49 +0000 (08:12 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:18:11 +0000 (21:18 -0600)
commit7d2a9e4c43931326702fba1faf5d9121b8608de2
tree0bd056254083fcdd66571ea8483d55a38c5ea9d7
parent39eeae9b05e46d0f64d5d47bc401e783c2ab96fc
usb: chipidea: using one inline function to cover queue work operations

The otg queue work include operations: one is disable interrupt,
another one is call kernel queue work API. Many codes do this
operation, using one inline function to instead of them.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c
drivers/usb/chipidea/otg.h
drivers/usb/chipidea/otg_fsm.c