]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: gasket: save struct device for a gasket device
authorTodd Poynor <toddpoynor@google.com>
Fri, 27 Jul 2018 03:07:28 +0000 (20:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jul 2018 15:09:16 +0000 (17:09 +0200)
commit6cefe675f12f1b53f963f6b867d40aa4237a35d9
treee7d8892d8a78dd787d613217bbf663ffd624c1ee
parent3ceefa3ffd17daacef3e09f895f67721fb1f6b79
staging: gasket: save struct device for a gasket device

Save the struct device pointer to a gasket device in gasket's metadata,
to facilitate use of standard logging calls and in anticipation of
non-PCI gasket devices in the future.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_core.c
drivers/staging/gasket/gasket_core.h