Skip to contentSkip to conversation

i2c: Fix i2c-ite name initialization

PATCH New Greg KH 1 participant 1 message Mar 23, 2006 I2C subsystem host drivers

lore
Share & tools
lore

Greg KH

author
#0 lore raw

PATCH 28/36 i2c: Fix i2c-ite name initialization

Properly set the name member of the i2c_adapter structure of the ite i2c adapter driver.

Signed-off-by Jean Delvare <khali at linux-fr.org>
Signed-off-by Greg Kroah-Hartman <gregkh at suse.de>

---

 drivers/i2c/busses/i2c-ite.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

f8d6d9f52b4977f5427e2cb782521611a823c108

drivers/i2c/busses/i2c-ite.c +1 -3
index 5f5d294..d82e6da 100644
@@ -200,9 +200,7 @@ static struct i2c_adapter iic_ite_ops = 
 	.owner		= THIS_MODULE,
 	.id		= I2C_HW_I_IIC,
 	.algo_data	= &iic_ite_data,
-	.dev		= {
-		.name	= "ITE IIC adapter",
-	},
+	.name		= "ITE IIC adapter",
 };
 
 /* Called when the module is loaded.  This function starts the
Signature · 1 line
1.2.4