commit | e4b28b3c3a405b251fa25db58abe1512814a680a | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Wed Nov 15 13:00:44 2017 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Nov 28 16:57:18 2017 +0100 |
tree | b7461c665352eb2c47c68eabe431e78a7613cb00 | |
parent | 811d7e0215fb738fb9a9f0bcb1276516ad161ed1 [diff] |
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>