summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-07-10 17:10:21 +0530
committerSimone Willett <swillett@nvidia.com>2012-07-19 15:38:49 -0700
commit300f256fc517fe77fa85aaf2345925c5b1ed4aad (patch)
tree9c5512bfc4dce4f3c441280a74f828fca37d3065 /drivers/i2c
parentfd037e4eee05f4ac342d8da24b3d5df76602d242 (diff)
i2c: tegra: remove unused member variable
Remove unused member variable "iomem" of the i2c device structure. This variable becomes unused when converted all allocation to devm_* in following change: i2c: tegra: make all resource allocation through devm_* Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Cherry-picked from mainline 57c0dc3e69439a2ddf239226c318d676da773492 Change-Id: I8a3db21524a20ee4cbd1b87dff82bac80a2763de Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/116472 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Bandi Krishna Chaitanya <bandik@nvidia.com>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-tegra.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index 64361563760d..9990a79922bd 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -145,7 +145,6 @@ struct tegra_i2c_bus {
* @adapter: core i2c layer adapter information
* @clk: clock reference for i2c controller
* @i2c_clk: clock reference for i2c bus
- * @iomem: memory resource for registers
* @base: ioremapped registers cookie
* @cont_id: i2c controller id, used for for packet header
* @irq: irq number of transfer complete interrupt
@@ -162,7 +161,6 @@ struct tegra_i2c_dev {
struct device *dev;
struct clk *div_clk;
struct clk *fast_clk;
- struct resource *iomem;
struct rt_mutex dev_lock;
spinlock_t fifo_lock;
void __iomem *base;