提交 1a7edcdc 编写于 作者: L Laurent Riffard 提交者: Greg Kroah-Hartman

[PATCH] i2c: Drop i2c_driver.{owner,name}, 9 of 11

We should use the i2c_driver.driver's .name and .owner fields
instead of the i2c_driver's ones.

This patch updates the matroxfb driver.
Signed-off-by: NLaurent Riffard <laurent.riffard@free.fr>
Signed-off-by: NJean Delvare <khali@linux-fr.org>
Acked-by: NPetr Vandrovec <petr@vandrovec.name>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 e533449d
......@@ -1293,8 +1293,10 @@ static int maven_command(struct i2c_client* client, unsigned int cmd, void* arg)
}
static struct i2c_driver maven_driver={
.owner = THIS_MODULE,
.name = "maven",
.driver = {
.owner = THIS_MODULE,
.name = "maven",
},
.id = I2C_DRIVERID_MGATVO,
.attach_adapter = maven_attach_adapter,
.detach_client = maven_detach_client,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册