diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2016-11-16 22:51:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-17 16:37:49 +0100 |
commit | c110cdb171488c60295d49fda16634cfec58ae28 (patch) | |
tree | f3edd6897111ed220fcd73358b3aa293d721f788 /drivers/tty/metag_da.c | |
parent | bd47b5269dbb316211fee18c706d015adbf1d696 (diff) |
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/tty/metag_da.c')
0 files changed, 0 insertions, 0 deletions