diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-11-15 13:00:44 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-28 16:57:18 +0100 |
commit | e4b28b3c3a405b251fa25db58abe1512814a680a (patch) | |
tree | b7461c665352eb2c47c68eabe431e78a7613cb00 /drivers/nubus | |
parent | 811d7e0215fb738fb9a9f0bcb1276516ad161ed1 (diff) | |
download | linux-e4b28b3c3a405b251fa25db58abe1512814a680a.tar.gz |
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 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions