summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-11-16 00:00:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-14 11:52:50 +0300
commitff8307709c0aff44bb1919e7d98ffa245af7cf6a (patch)
tree6685e08ed64290bd9503ce2d890fbb0047b041c8 /drivers/base
parent03bb8e9a18190ee12f5250ff4e97ac035fb2abca (diff)
downloadlinux-ff8307709c0aff44bb1919e7d98ffa245af7cf6a.tar.xz
firmware: vpd: Fix platform driver and device registration/unregistration
commit 0631fb8b027f5968c2f5031f0b3ff7be3e4bebcc upstream. 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> 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 'drivers/base')
0 files changed, 0 insertions, 0 deletions