diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2016-11-16 23:51:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-17 18:37:49 +0300 |
commit | c110cdb171488c60295d49fda16634cfec58ae28 (patch) | |
tree | f3edd6897111ed220fcd73358b3aa293d721f788 /drivers/misc/c2port/Kconfig | |
parent | bd47b5269dbb316211fee18c706d015adbf1d696 (diff) | |
download | linux-c110cdb171488c60295d49fda16634cfec58ae28.tar.xz |
mei: bus: make a client pointer always available
Change life time of the client pointer, allocate it upon client device
creation and free it upon device destruction, instead of upon
connection and disconnection.
This helps to eliminate racy NULL checks in the bus code.
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/c2port/Kconfig')
0 files changed, 0 insertions, 0 deletions