From: David Brownell Date: Sun, 10 Dec 2006 10:19:02 +0000 (-0800) Subject: [PATCH] RTCs don't use i2c_adapter.dev X-Git-Tag: v2.6.20-rc1~145^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a14e18935076ce084c4edbc57883f38e642c8e5d;p=pandora-kernel.git [PATCH] RTCs don't use i2c_adapter.dev Update more I2C drivers that live outside drivers/i2c to understand that using adapter->dev is not The Way. When actually referring to the adapter hardware, adapter->class_dev.dev is the answer. When referring to a device connected to it, client->dev.dev is the answer. Signed-off-by: David Brownell Acked-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed