diff options
| author | Guenter Roeck <[email protected]> | 2017-11-15 21:00:45 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-11-28 15:57:18 +0000 |
| commit | 0631fb8b027f5968c2f5031f0b3ff7be3e4bebcc (patch) | |
| tree | 6018880561ec565324354bf2919a8c9237a5263e /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | firmware: vpd: Tie firmware kobject to device lifetime (diff) | |
| download | kernel-0631fb8b027f5968c2f5031f0b3ff7be3e4bebcc.tar.gz kernel-0631fb8b027f5968c2f5031f0b3ff7be3e4bebcc.zip | |
firmware: vpd: Fix platform driver and device registration/unregistration
The driver exit function needs to unregister both platform device and
driver. Also, during registration, register driver first and perform
error checks.
Fixes: 049a59db34eb ("firmware: Google VPD sysfs driver")
Signed-off-by: Guenter Roeck <[email protected]>
Cc: stable <[email protected]>
Tested-by: Randy Dunlap <[email protected]>
Reviewed-by: Dmitry Torokhov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
