diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-11-15 22:00:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-28 16:57:18 +0100 |
commit | 0631fb8b027f5968c2f5031f0b3ff7be3e4bebcc (patch) | |
tree | 6018880561ec565324354bf2919a8c9237a5263e /kernel/configs/android-base.config | |
parent | firmware: vpd: Tie firmware kobject to device lifetime (diff) | |
download | linux-0631fb8b027f5968c2f5031f0b3ff7be3e4bebcc.tar.xz linux-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 <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>
Diffstat (limited to 'kernel/configs/android-base.config')
0 files changed, 0 insertions, 0 deletions