* [PATCH V2 1/5] i2c: tegra: remove unused member variable
@ 2012-07-10 11:40 ` Laxman Dewangan
0 siblings, 0 replies; 3+ messages in thread
From: Laxman Dewangan @ 2012-07-10 11:40 UTC (permalink / raw)
To: w.sang-bIcnvbaLZ9MEGnE8C9+IrQ, khali-PUYAD+kWke1g9hUCZPvPmw,
ben-linux-elnMNo+KYs3YtjvyW6yDsg
Cc: swarren-DDmLM1+adcrQT0dZR+AlfA, linux-i2c-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-tegra-u79uwXL29TY76Z2rM5mHXA, Laxman Dewangan
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-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
This patch is resend of earlier patch
i2c: tegra: remove unused member variable.
and sending it as part fo series.
Changes from V1:
Adding more details in description why this variable becomes unused.
No change in code.
Remaining patches of this series will be still same, version V1.
If require, I will resend the series with new version.
drivers/i2c/busses/i2c-tegra.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index f15cd49..00cdc10 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -119,7 +119,6 @@ enum msg_end_type {
* @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
@@ -137,7 +136,6 @@ struct tegra_i2c_dev {
struct i2c_adapter adapter;
struct clk *clk;
struct clk *i2c_clk;
- struct resource *iomem;
void __iomem *base;
int cont_id;
int irq;
--
1.7.1.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH V2 1/5] i2c: tegra: remove unused member variable
@ 2012-07-10 11:40 ` Laxman Dewangan
0 siblings, 0 replies; 3+ messages in thread
From: Laxman Dewangan @ 2012-07-10 11:40 UTC (permalink / raw)
To: w.sang, khali, ben-linux
Cc: swarren, linux-i2c, linux-kernel, linux-tegra, Laxman Dewangan
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>
---
This patch is resend of earlier patch
i2c: tegra: remove unused member variable.
and sending it as part fo series.
Changes from V1:
Adding more details in description why this variable becomes unused.
No change in code.
Remaining patches of this series will be still same, version V1.
If require, I will resend the series with new version.
drivers/i2c/busses/i2c-tegra.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index f15cd49..00cdc10 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -119,7 +119,6 @@ enum msg_end_type {
* @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
@@ -137,7 +136,6 @@ struct tegra_i2c_dev {
struct i2c_adapter adapter;
struct clk *clk;
struct clk *i2c_clk;
- struct resource *iomem;
void __iomem *base;
int cont_id;
int irq;
--
1.7.1.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH V2 1/5] i2c: tegra: remove unused member variable
2012-07-10 11:40 ` Laxman Dewangan
(?)
@ 2012-07-12 9:51 ` Wolfram Sang
-1 siblings, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2012-07-12 9:51 UTC (permalink / raw)
To: Laxman Dewangan
Cc: khali, ben-linux, swarren, linux-i2c, linux-kernel, linux-tegra
[-- Attachment #1: Type: text/plain, Size: 550 bytes --]
On Tue, Jul 10, 2012 at 05:10:21PM +0530, Laxman Dewangan wrote:
> 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>
Applied to next, thanks.
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-12 9:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-10 11:40 [PATCH V2 1/5] i2c: tegra: remove unused member variable Laxman Dewangan
2012-07-10 11:40 ` Laxman Dewangan
2012-07-12 9:51 ` Wolfram Sang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.