diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-07-01 11:16:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 18:38:50 -0400 |
commit | 9455e4c9abf76fa02170743859b2ddbb484e7fdf (patch) | |
tree | e42acab99cae87ba519fe429025d63840bbc0ec7 /drivers/net/dgrs.h | |
parent | dd77a4ee0f3981693d4229aa1d57cea9e526ff47 (diff) |
i2c-dev: Cleanups
i2c-dev: Cleanups
* We no more need to include platform_device.h.
* Delete the to_i2c_dev macro, which is no more used (and no more valid
either.)
* Drop i2c_dev.minor. Now that the minor number always matches the i2c
adapter number, this field is redundant with i2c_dev.adap->nr.
* Delete i2c_dev_get_by_adapter() which is now redundant with
i2c_dev_get_by_minor() for the same reason.
* Drop the local variable dev in i2cdev_attach_adapter(), we can
easily do without it.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/dgrs.h')
0 files changed, 0 insertions, 0 deletions