diff options
author | Guenter Roeck <[email protected]> | 2017-11-15 13:00:45 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-11-28 16:57:18 +0100 |
commit | 0631fb8b027f5968c2f5031f0b3ff7be3e4bebcc (patch) | |
tree | 6018880561ec565324354bf2919a8c9237a5263e /tools/perf/scripts/python | |
parent | e4b28b3c3a405b251fa25db58abe1512814a680a (diff) |
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')
0 files changed, 0 insertions, 0 deletions