]> git.karo-electronics.de Git - linux-beck.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)
commitbe6b0c1bd0be7a4f4d75ab40965abf1bd2d9a591
treef93029af1564edb9276d1ccece6f4955d442d7ff
parent2dbd633f3a5ec60cec1bb33b86513d768730681b
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