commit | 34cf3ea8dae7f0aa2ab544c1d30a803016af779e | [log] [tgz] |
---|---|---|
author | Todd Poynor <toddpoynor@google.com> | Sun Jul 29 12:36:35 2018 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jul 30 10:54:50 2018 +0200 |
tree | abefe9abd8bae2476c304cfecd83f9ed7f63caf7 | |
parent | 8dd8a48b9a7dae5493494a8603adddfdf1914716 [diff] |
staging: gasket: sysfs: hold reference to device while in use Hold a reference to the struct device while a gasket sysfs mapping exists for the device and a pointer to the struct is kept in the mapping data structures. Signed-off-by: Todd Poynor <toddpoynor@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>