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)
commit39091410d0d8eeb07f3b08ff4e44400ccd434762
tree2bef762d2cf43e00a7a1d12d863559d7385c5955
parent2f649036fa66b1494da6ecf8bd4d53167e10e36f
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