summaryrefslogtreecommitdiff
path: root/arch/cris
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2006-07-01 15:16:57 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-26 22:38:50 (GMT)
commit9455e4c9abf76fa02170743859b2ddbb484e7fdf (patch)
treee42acab99cae87ba519fe429025d63840bbc0ec7 /arch/cris
parentdd77a4ee0f3981693d4229aa1d57cea9e526ff47 (diff)
downloadlinux-9455e4c9abf76fa02170743859b2ddbb484e7fdf.tar.xz
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 'arch/cris')
0 files changed, 0 insertions, 0 deletions