firmware: google: Unregister driver_info on failure and exit in gsmi
[ Upstream commit c6e7af0515daca800d84b9cfa1bf19e53c4f5bc3 ] Fix a bug where the kernel module couldn't be loaded after unloading, as the platform driver wasn't released on exit. Signed-off-by:Arthur Heymans <arthur@aheymans.xyz> Signed-off-by:
Patrick Rudolph <patrick.rudolph@9elements.com> Link: https://lore.kernel.org/r/20191118101934.22526-3-patrick.rudolph@9elements.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: 32b0901e141f ("firmware: google: Unregister driver_info on failure") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment