HSI: hsi: Rework hsi_controller release
authorCarlos Chinea <carlos.chinea@nokia.com>
Wed, 4 Apr 2012 11:11:45 +0000 (14:11 +0300)
committerCarlos Chinea <carlos.chinea@nokia.com>
Mon, 23 Apr 2012 11:23:31 +0000 (14:23 +0300)
commit5a218ceba7b64f506bf4f004b04bb457c1805a62
treef1f123391bbebd8c6136e9118bf8a2f6b0c49734
parent66f75a5d028beaf67c931435fdc3e7823125730c
HSI: hsi: Rework hsi_controller release

Use the proper release mechanism for hsi_controller and
hsi_ports structures. Free the structures through their
associated device release callbacks.

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>
drivers/hsi/hsi.c
include/linux/hsi/hsi.h