tegra: Add function to release resources
authorAndrew Chew <achew@nvidia.com>
Wed, 1 Aug 2012 23:52:42 +0000 (16:52 -0700)
committerSimone Willett <swillett@nvidia.com>
Thu, 25 Oct 2012 00:15:25 +0000 (17:15 -0700)
commitacb3c26a8c28de7d36c24f3064646512b835ff32
tree8b1cb114aa32ae96bc3a4d022c894e7bf19ad8a6
parent02005dda6af88d02f85709c4853d4618616aa35b
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.

Signed-off-by: Andrew Chew <achew@nvidia.com>
Change-Id: I72ffc1e8d3eb7bc0d86896e80f121d2a432abbad
Reviewed-on: http://git-master/r/145343
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>
drivers/video/tegra/host/bus_client.c
drivers/video/tegra/host/bus_client.h