]> git.baikalelectronics.ru Git - kernel.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 02:35:02 +0000 (11:35 +0900)
commitfeb4def66280f3989c61ac370afa7f4e49b71bbd
treef93029af1564edb9276d1ccece6f4955d442d7ff
parent0961f3c2da8f35de8803ecf3d8fbca231376746b
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