summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Riffard <laurent.riffard@free.fr>2005-11-26 20:51:06 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-05 22:16:24 -0800
commite533449d291b5a28ce9527539750a0cb88146f6e (patch)
treed7b7045a247276594846bddd073c46f34f3e02a5
parente100fe103e679372b3d1d6e9d32fd3ab57484be2 (diff)
downloadop-kernel-dev-e533449d291b5a28ce9527539750a0cb88146f6e.zip
op-kernel-dev-e533449d291b5a28ce9527539750a0cb88146f6e.tar.gz
[PATCH] i2c: Drop i2c_driver.{owner,name}, 8 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 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>
-rw-r--r--drivers/acorn/char/pcf8583.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/acorn/char/pcf8583.c b/drivers/acorn/char/pcf8583.c
index befc946..5fc5940 100644
--- a/drivers/acorn/char/pcf8583.c
+++ b/drivers/acorn/char/pcf8583.c
@@ -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,
OpenPOWER on IntegriCloud