]> git.baikalelectronics.ru Git - kernel.git/commit
staging: gasket: core: let device driver enable/disable gasket device
authorTodd Poynor <toddpoynor@google.com>
Sun, 5 Aug 2018 20:07:41 +0000 (13:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Aug 2018 09:20:07 +0000 (11:20 +0200)
commita95eaccce09a33ca40d1d6f479cdc009ae00fc34
tree2bef762d2cf43e00a7a1d12d863559d7385c5955
parentfdd4ef810a988c021a6cd7ae1886294ca1cafc65
staging: gasket: core: let device driver enable/disable gasket device

Move gasket device enable/disable functions from internal calls to
external calls from the gasket device drivers.  The device driver will
call these functions at appropriate times in its processing, placing
the device driver in control of this sequence and reducing the need for
callbacks from framework back to the device drivers during the
enable/disable sequences.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_core.c
drivers/staging/gasket/gasket_core.h