HSI: hsi: Rework hsi_controller release
authorCarlos Chinea <[email protected]>
Wed, 4 Apr 2012 11:11:45 +0000 (14:11 +0300)
committerCarlos Chinea <[email protected]>
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 <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Linus Walleij <[email protected]>
drivers/hsi/hsi.c
include/linux/hsi/hsi.h