Skip to content

Commit

Permalink
[PATCH] i2c: Drop i2c_driver.{owner,name}, 7 of 11
Browse files Browse the repository at this point in the history
We should use the i2c_driver.driver's .name and .owner fields
instead of the i2c_driver's ones.

This patch updates the drivers for ppc arch.

Signed-off-by: Laurent Riffard <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Laurent Riffard authored and gregkh committed Jan 6, 2006
1 parent d74cdab commit e100fe1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sound/ppc/keywest.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ static int keywest_attach_adapter(struct i2c_adapter *adapter);
static int keywest_detach_client(struct i2c_client *client);

struct i2c_driver keywest_driver = {
.name = "PMac Keywest Audio",
.driver = {
.owner = THIS_MODULE,
.name = "PMac Keywest Audio",
},
.id = I2C_DRIVERID_KEYWEST,
.attach_adapter = &keywest_attach_adapter,
.detach_client = &keywest_detach_client,
Expand Down

0 comments on commit e100fe1

Please sign in to comment.