diff options
author | Laurent Riffard <laurent.riffard@free.fr> | 2005-11-26 14:51:06 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-06 01:16:24 -0500 |
commit | e533449d291b5a28ce9527539750a0cb88146f6e (patch) | |
tree | d7b7045a247276594846bddd073c46f34f3e02a5 | |
parent | e100fe103e679372b3d1d6e9d32fd3ab57484be2 (diff) |
[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.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/acorn/char/pcf8583.c b/drivers/acorn/char/pcf8583.c index befc9469b4f2..5fc5940e637c 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) | |||
257 | } | 257 | } |
258 | 258 | ||
259 | static struct i2c_driver pcf8583_driver = { | 259 | static struct i2c_driver pcf8583_driver = { |
260 | .name = "PCF8583", | 260 | .driver = { |
261 | .owner = THIS_MODULE, | ||
262 | .name = "PCF8583", | ||
263 | }, | ||
261 | .id = I2C_DRIVERID_PCF8583, | 264 | .id = I2C_DRIVERID_PCF8583, |
262 | .attach_adapter = pcf8583_probe, | 265 | .attach_adapter = pcf8583_probe, |
263 | .detach_client = pcf8583_detach, | 266 | .detach_client = pcf8583_detach, |