2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/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 <linux@roeck-us.net>
Cc: stable <stable@vger.kernel.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-28 16:57:18 +01:00
..
coreboot_table-acpi.c firmware: google memconsole: Add coreboot support 2017-04-08 18:05:36 +02:00
coreboot_table-of.c firmware: google memconsole: Add ARM/ARM64 support 2017-04-08 18:05:36 +02:00
coreboot_table.c firmware: google memconsole: Add coreboot support 2017-04-08 18:05:36 +02:00
coreboot_table.h firmware: google memconsole: Add coreboot support 2017-04-08 18:05:36 +02:00
gsmi.c dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
Kconfig firmware: Google VPD sysfs driver 2017-04-18 18:05:23 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
memconsole-coreboot.c firmware: google: memconsole: Prevent overrun attack on coreboot console 2017-05-25 15:35:19 +02:00
memconsole-x86-legacy.c dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
memconsole.c firmware: google: memconsole: Make memconsole interface more flexible 2017-05-18 16:59:06 +02:00
memconsole.h firmware: google: memconsole: Make memconsole interface more flexible 2017-05-18 16:59:06 +02:00
vpd_decode.c firmware: Google VPD: import lib_vpd source files 2017-04-18 18:04:45 +02:00
vpd_decode.h firmware: Google VPD: import lib_vpd source files 2017-04-18 18:04:45 +02:00
vpd.c firmware: vpd: Fix platform driver and device registration/unregistration 2017-11-28 16:57:18 +01:00