HSI: hsi: Fix error path cleanup on client registration
HSI client structure should be freed on error path after calling device_registration by dropping a reference to it. Signed-off-by: NCarlos Chinea <carlos.chinea@nokia.com> Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: NLinus Walleij <linus.walleij@linaro.org>
Showing
想要评论请 注册 或 登录