Skip to content

Commit

Permalink
[PATCH] i2c: Drop i2c_driver.{owner,name}, 8 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 acorn arch.

Signed-off-by: Laurent Riffard <laurent.riffard@free.fr>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Laurent Riffard authored and Greg Kroah-Hartman committed Jan 6, 2006
1 parent e100fe1 commit e533449
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/acorn/char/pcf8583.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,10 @@ pcf8583_command(struct i2c_client *client, unsigned int cmd, void *arg)
}

static struct i2c_driver pcf8583_driver = {
.name = "PCF8583",
.driver = {
.owner = THIS_MODULE,
.name = "PCF8583",
},
.id = I2C_DRIVERID_PCF8583,
.attach_adapter = pcf8583_probe,
.detach_client = pcf8583_detach,
Expand Down

0 comments on commit e533449

Please sign in to comment.