]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] RTCs don't use i2c_adapter.dev
authorDavid Brownell <david-b@pacbell.net>
Sun, 10 Dec 2006 10:19:02 +0000 (02:19 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sun, 10 Dec 2006 17:55:40 +0000 (09:55 -0800)
commita14e18935076ce084c4edbc57883f38e642c8e5d
treec35e51c304aa3bb410d8dcba150254d156f1394f
parent884b4aaaa242a2db8c8252796f0118164a680ab5
[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 <dbrownell@users.sourceforge.net>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/rtc/rtc-ds1672.c
drivers/rtc/rtc-pcf8563.c
drivers/rtc/rtc-rs5c372.c
drivers/rtc/rtc-x1205.c