platform/x86: surface3-wmi: Balance locking on error path
There is a possibility that lock will be left acquired. Consolidate error path under out_free_unlock label. Reported-by: Nkbuild test robot <fengguang.wu@intel.com> Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Showing
想要评论请 注册 或 登录