greybus: core: clean up ida memory for host controller
authorGreg Kroah-Hartman <gregkh@google.com>
Mon, 27 Jul 2015 21:23:44 +0000 (14:23 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 28 Jul 2015 21:47:03 +0000 (14:47 -0700)
commitfe166c6a2b9225d71b1b4f1035603e189f6c3640
treee0ceb3b0568fde17777f713be9bfb5c36bf36c3e
parentd8742156c1c0125b709c262c5a564bb828e126dc
greybus: core: clean up ida memory for host controller

We forgot to free any ida internal structures that were used by this
host controller structure when we free the memory for the controller.
So fix that up by doing so in the release function.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/staging/greybus/core.c