Skip to content

Commit

Permalink
[PATCH] i2c: Fix i2c-ite name initialization
Browse files Browse the repository at this point in the history
Properly set the name member of the i2c_adapter structure of the ite
i2c adapter driver.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jean Delvare authored and Greg Kroah-Hartman committed Mar 23, 2006
1 parent 2f27f46 commit f8d6d9f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/i2c/busses/i2c-ite.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f8d6d9f

Please sign in to comment.