Files
Linux/drivers/firmware/google
Guenter Roeck 0631fb8b02 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: 049a59db34 ("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]>
2017-11-28 16:57:18 +01:00
..
2017-04-18 18:05:23 +02:00