aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/therm_windtunnel.c
diff options
context:
space:
mode:
authorLaurent Riffard <laurent.riffard@free.fr>2005-11-26 14:40:34 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-06 01:16:23 -0500
commita33ca23231a37e28d15da9546b1f3e83dc48284b (patch)
tree50c59c7dfbf77cb9297dd20d2aa1e3958f5f358d /drivers/macintosh/therm_windtunnel.c
parentcdaf79349c7d24e1d33acb6497849c9e956a33ea (diff)
[PATCH] i2c: Drop i2c_driver.{owner,name}, 4 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 macintosh. Signed-off-by: Laurent Riffard <laurent.riffard@free.fr> Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/macintosh/therm_windtunnel.c')
-rw-r--r--drivers/macintosh/therm_windtunnel.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/macintosh/therm_windtunnel.c b/drivers/macintosh/therm_windtunnel.c
index f3bae0d00ed2..259f19d5816c 100644
--- a/drivers/macintosh/therm_windtunnel.c
+++ b/drivers/macintosh/therm_windtunnel.c
@@ -354,8 +354,10 @@ do_detach( struct i2c_client *client )
354} 354}
355 355
356static struct i2c_driver g4fan_driver = { 356static struct i2c_driver g4fan_driver = {
357 .owner = THIS_MODULE, 357 .driver = {
358 .name = "therm_windtunnel", 358 .owner = THIS_MODULE,
359 .name = "therm_windtunnel",
360 },
359 .id = I2C_DRIVERID_G4FAN, 361 .id = I2C_DRIVERID_G4FAN,
360 .attach_adapter = do_attach, 362 .attach_adapter = do_attach,
361 .detach_client = do_detach, 363 .detach_client = do_detach,