HSI: hsi: Rework hsi_controller release
authorCarlos Chinea <carlos.chinea@nokia.com>
Wed, 4 Apr 2012 11:11:45 +0000 (14:11 +0300)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 30 Apr 2012 12:27:54 +0000 (17:27 +0530)
commit3351fa918da1a0538775bf2c833518d6373034d1
treec7d7b7e4825db54e57ad0a16295f97e2c7b06a34
parent98569e8f52463dadae8963cc7bf88256de870807
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