[PATCH] i2c: Drop i2c_driver.{owner,name}, 1 of 11
authorLaurent Riffard <laurent.riffard@free.fr>
Sat, 26 Nov 2005 19:34:05 +0000 (20:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Jan 2006 06:16:22 +0000 (22:16 -0800)
commit35d8b2e6b8e86b0d5126f36613b5202d4eb978b6
tree2327c791f10216db39ae5c22235a13a5bc886d1e
parent482c788ded0aa9710722eaf9cf60886d3b923218
[PATCH] i2c: Drop i2c_driver.{owner,name}, 1 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 core of the i2c drivers: it removes .name and
.owner fields from the struct i2c_device and modify various
functions to use struct device fields instead.

Signed-off-by: Laurent Riffard <laurent.riffard@free.fr>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/busses/i2c-isa.c
drivers/i2c/i2c-core.c
drivers/i2c/i2c-dev.c
include/linux/i2c.h