All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] video/via: drop deprecated (and unused) i2c_adapter.id
@ 2011-01-25 21:34 ` Peter Huewe
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Huewe @ 2011-01-25 21:34 UTC (permalink / raw)
  To: Florian Tobias Schandinat
  Cc: linux-fbdev, linux-kernel, kernel-janitors, Jean Delvare, Peter Huewe

This patch removes an assignment to the deprecated i2c_adapter.id
field. Since the field isn't used anywhere else in the driver it is
save to remove it.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
 drivers/video/via/via_i2c.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/video/via/via_i2c.c b/drivers/video/via/via_i2c.c
index 3844b55..a172a31 100644
--- a/drivers/video/via/via_i2c.c
+++ b/drivers/video/via/via_i2c.c
@@ -209,7 +209,6 @@ static int create_i2c_bus(struct i2c_adapter *adapter,
 	sprintf(adapter->name, "viafb i2c io_port idx 0x%02x",
 		adap_cfg->ioport_index);
 	adapter->owner = THIS_MODULE;
-	adapter->id = 0x01FFFF;
 	adapter->class = I2C_CLASS_DDC;
 	adapter->algo_data = algo;
 	if (pdev)
-- 
1.7.2.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] video/via: drop deprecated (and unused) i2c_adapter.id
@ 2011-01-25 21:34 ` Peter Huewe
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Huewe @ 2011-01-25 21:34 UTC (permalink / raw)
  To: Florian Tobias Schandinat
  Cc: linux-fbdev, linux-kernel, kernel-janitors, Jean Delvare, Peter Huewe

This patch removes an assignment to the deprecated i2c_adapter.id
field. Since the field isn't used anywhere else in the driver it is
save to remove it.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
 drivers/video/via/via_i2c.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/video/via/via_i2c.c b/drivers/video/via/via_i2c.c
index 3844b55..a172a31 100644
--- a/drivers/video/via/via_i2c.c
+++ b/drivers/video/via/via_i2c.c
@@ -209,7 +209,6 @@ static int create_i2c_bus(struct i2c_adapter *adapter,
 	sprintf(adapter->name, "viafb i2c io_port idx 0x%02x",
 		adap_cfg->ioport_index);
 	adapter->owner = THIS_MODULE;
-	adapter->id = 0x01FFFF;
 	adapter->class = I2C_CLASS_DDC;
 	adapter->algo_data = algo;
 	if (pdev)
-- 
1.7.2.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] video/via: drop deprecated (and unused) i2c_adapter.id
  2011-01-25 21:34 ` Peter Huewe
@ 2011-01-25 22:15   ` Jean Delvare
  -1 siblings, 0 replies; 6+ messages in thread
From: Jean Delvare @ 2011-01-25 22:15 UTC (permalink / raw)
  To: Peter Huewe
  Cc: Florian Tobias Schandinat, linux-fbdev, linux-kernel, kernel-janitors

On Tue, 25 Jan 2011 22:34:24 +0100, Peter Huewe wrote:
> This patch removes an assignment to the deprecated i2c_adapter.id
> field. Since the field isn't used anywhere else in the driver it is
> save to remove it.
> 
> Signed-off-by: Peter Huewe <peterhuewe@gmx.de>

Acked-by: Jean Delvare <khali@linux-fr.org>

> ---
>  drivers/video/via/via_i2c.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/video/via/via_i2c.c b/drivers/video/via/via_i2c.c
> index 3844b55..a172a31 100644
> --- a/drivers/video/via/via_i2c.c
> +++ b/drivers/video/via/via_i2c.c
> @@ -209,7 +209,6 @@ static int create_i2c_bus(struct i2c_adapter *adapter,
>  	sprintf(adapter->name, "viafb i2c io_port idx 0x%02x",
>  		adap_cfg->ioport_index);
>  	adapter->owner = THIS_MODULE;
> -	adapter->id = 0x01FFFF;
>  	adapter->class = I2C_CLASS_DDC;
>  	adapter->algo_data = algo;
>  	if (pdev)


-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] video/via: drop deprecated (and unused) i2c_adapter.id
@ 2011-01-25 22:15   ` Jean Delvare
  0 siblings, 0 replies; 6+ messages in thread
From: Jean Delvare @ 2011-01-25 22:15 UTC (permalink / raw)
  To: Peter Huewe
  Cc: Florian Tobias Schandinat, linux-fbdev, linux-kernel, kernel-janitors

On Tue, 25 Jan 2011 22:34:24 +0100, Peter Huewe wrote:
> This patch removes an assignment to the deprecated i2c_adapter.id
> field. Since the field isn't used anywhere else in the driver it is
> save to remove it.
> 
> Signed-off-by: Peter Huewe <peterhuewe@gmx.de>

Acked-by: Jean Delvare <khali@linux-fr.org>

> ---
>  drivers/video/via/via_i2c.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/video/via/via_i2c.c b/drivers/video/via/via_i2c.c
> index 3844b55..a172a31 100644
> --- a/drivers/video/via/via_i2c.c
> +++ b/drivers/video/via/via_i2c.c
> @@ -209,7 +209,6 @@ static int create_i2c_bus(struct i2c_adapter *adapter,
>  	sprintf(adapter->name, "viafb i2c io_port idx 0x%02x",
>  		adap_cfg->ioport_index);
>  	adapter->owner = THIS_MODULE;
> -	adapter->id = 0x01FFFF;
>  	adapter->class = I2C_CLASS_DDC;
>  	adapter->algo_data = algo;
>  	if (pdev)


-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] video/via: drop deprecated (and unused) i2c_adapter.id
  2011-01-25 21:34 ` Peter Huewe
@ 2011-03-12 15:31   ` Florian Tobias Schandinat
  -1 siblings, 0 replies; 6+ messages in thread
From: Florian Tobias Schandinat @ 2011-03-12 15:31 UTC (permalink / raw)
  To: Peter Huewe; +Cc: linux-fbdev, linux-kernel, kernel-janitors, Jean Delvare

Peter Huewe schrieb:
> This patch removes an assignment to the deprecated i2c_adapter.id
> field. Since the field isn't used anywhere else in the driver it is
> save to remove it.
> 
> Signed-off-by: Peter Huewe <peterhuewe@gmx.de>

Applied. Thanks,


Florian Tobias Schandinat

> ---
>  drivers/video/via/via_i2c.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/video/via/via_i2c.c b/drivers/video/via/via_i2c.c
> index 3844b55..a172a31 100644
> --- a/drivers/video/via/via_i2c.c
> +++ b/drivers/video/via/via_i2c.c
> @@ -209,7 +209,6 @@ static int create_i2c_bus(struct i2c_adapter *adapter,
>  	sprintf(adapter->name, "viafb i2c io_port idx 0x%02x",
>  		adap_cfg->ioport_index);
>  	adapter->owner = THIS_MODULE;
> -	adapter->id = 0x01FFFF;
>  	adapter->class = I2C_CLASS_DDC;
>  	adapter->algo_data = algo;
>  	if (pdev)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] video/via: drop deprecated (and unused) i2c_adapter.id
@ 2011-03-12 15:31   ` Florian Tobias Schandinat
  0 siblings, 0 replies; 6+ messages in thread
From: Florian Tobias Schandinat @ 2011-03-12 15:31 UTC (permalink / raw)
  To: Peter Huewe; +Cc: linux-fbdev, linux-kernel, kernel-janitors, Jean Delvare

Peter Huewe schrieb:
> This patch removes an assignment to the deprecated i2c_adapter.id
> field. Since the field isn't used anywhere else in the driver it is
> save to remove it.
> 
> Signed-off-by: Peter Huewe <peterhuewe@gmx.de>

Applied. Thanks,


Florian Tobias Schandinat

> ---
>  drivers/video/via/via_i2c.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/video/via/via_i2c.c b/drivers/video/via/via_i2c.c
> index 3844b55..a172a31 100644
> --- a/drivers/video/via/via_i2c.c
> +++ b/drivers/video/via/via_i2c.c
> @@ -209,7 +209,6 @@ static int create_i2c_bus(struct i2c_adapter *adapter,
>  	sprintf(adapter->name, "viafb i2c io_port idx 0x%02x",
>  		adap_cfg->ioport_index);
>  	adapter->owner = THIS_MODULE;
> -	adapter->id = 0x01FFFF;
>  	adapter->class = I2C_CLASS_DDC;
>  	adapter->algo_data = algo;
>  	if (pdev)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-03-12 15:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-25 21:34 [PATCH] video/via: drop deprecated (and unused) i2c_adapter.id Peter Huewe
2011-01-25 21:34 ` Peter Huewe
2011-01-25 22:15 ` Jean Delvare
2011-01-25 22:15   ` Jean Delvare
2011-03-12 15:31 ` Florian Tobias Schandinat
2011-03-12 15:31   ` Florian Tobias Schandinat

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.