tegra: Add function to release resources
authorAndrew Chew <achew@nvidia.com>
Wed, 1 Aug 2012 23:52:42 +0000 (16:52 -0700)
committerWinnie Hsu <whsu@nvidia.com>
Mon, 17 Dec 2012 19:31:22 +0000 (11:31 -0800)
commit681999b928434ecb46d379e2381adb31b83e5437
treef02c1cc51e9ac328acc7e1fd825f51c505659bc1
parent62c2aed60372c97eebda02e8833c15b418a16fb0
tegra: Add function to release resources

Add a companion function to nvhost_client_device_get_resources()
called nvhost_client_device_put_resources() that does the opposite
thing. This is useful for any nvhost clients that need to be loaded
as modules, since the driver removal path will be exercised in that
case.

Change-Id: Ib5cec6fce7b05c780b135b03fcd88e068f772244
Signed-off-by: Andrew Chew <achew@nvidia.com>
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/169833
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
drivers/video/tegra/host/bus_client.c
drivers/video/tegra/host/bus_client.h