HSI: hsi: Fix error path cleanup on client registration
authorCarlos Chinea <carlos.chinea@nokia.com>
Wed, 11 Apr 2012 08:01:11 +0000 (11:01 +0300)
committerCarlos Chinea <carlos.chinea@nokia.com>
Mon, 23 Apr 2012 11:23:31 +0000 (14:23 +0300)
HSI client structure should be freed on error path after
calling device_registration by dropping a reference to it.

Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>

No differences found