diff options
author | Laurent Riffard <laurent.riffard@free.fr> | 2005-11-26 20:51:06 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-05 22:16:24 -0800 |
commit | e533449d291b5a28ce9527539750a0cb88146f6e (patch) | |
tree | d7b7045a247276594846bddd073c46f34f3e02a5 /drivers | |
parent | e100fe103e679372b3d1d6e9d32fd3ab57484be2 (diff) | |
download | op-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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acorn/char/pcf8583.c | 5 |
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, |