diff options
author | 2017-11-15 13:00:44 -0800 | |
---|---|---|
committer | 2017-11-28 16:57:18 +0100 | |
commit | e4b28b3c3a405b251fa25db58abe1512814a680a (patch) | |
tree | b7461c665352eb2c47c68eabe431e78a7613cb00 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | firmware: vpd: Destroy vpd sections in remove function (diff) | |
download | wireguard-linux-e4b28b3c3a405b251fa25db58abe1512814a680a.tar.xz wireguard-linux-e4b28b3c3a405b251fa25db58abe1512814a680a.zip |
firmware: vpd: Tie firmware kobject to device lifetime
It doesn't make sense to have /sys/firmware/vpd if the device is not
instantiated, so tie its lifetime to the device.
Fixes: 049a59db34eb ("firmware: Google VPD sysfs driver")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: stable <stable@vger.kernel.org>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions