From: Jean Delvare Date: Sat, 1 Jul 2006 15:16:57 +0000 (+0200) Subject: i2c-dev: Cleanups X-Git-Tag: v2.6.19-rc1~1003^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9455e4c9abf76fa02170743859b2ddbb484e7fdf;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed