commit | c110cdb171488c60295d49fda16634cfec58ae28 | [log] [tgz] |
---|---|---|
author | Alexander Usyskin <[email protected]> | Wed Nov 16 22:51:28 2016 +0200 |
committer | Greg Kroah-Hartman <[email protected]> | Thu Nov 17 16:37:49 2016 +0100 |
tree | f3edd6897111ed220fcd73358b3aa293d721f788 | |
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 <[email protected]> Signed-off-by: Tomas Winkler <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>