commit | 512f64d9f7467597388ffbd5a21589ee3f375d8b | [log] [tgz] |
---|---|---|
author | Tomas Winkler <tomas.winkler@intel.com> | Thu Jul 23 15:08:41 2015 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 03 17:21:59 2015 -0700 |
tree | 71e0a6bdbbcf80a602d69d11ecdbbec08ad78d16 | |
parent | feb8cd0fe7d63fd259c28f8a52fc88745717c9ec [diff] |
mei: bus: add reference to bus device in struct mei_cl_client Add reference to the bus device (mei_device) for easier access. To ensures that referencing cldev->bus is valid during cldev life time we increase the bus ref counter on a client device creation and drop it on the device release. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>