Commit f8d6d9f5 authored by Jean Delvare's avatar Jean Delvare Committed by Greg Kroah-Hartman

[PATCH] 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: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2f27f46c
...@@ -200,9 +200,7 @@ static struct i2c_adapter iic_ite_ops = { ...@@ -200,9 +200,7 @@ static struct i2c_adapter iic_ite_ops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.id = I2C_HW_I_IIC, .id = I2C_HW_I_IIC,
.algo_data = &iic_ite_data, .algo_data = &iic_ite_data,
.dev = { .name = "ITE IIC adapter",
.name = "ITE IIC adapter",
},
}; };
/* Called when the module is loaded. This function starts the /* Called when the module is loaded. This function starts the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment