i2c: Add i2c_new_dummy() utility
authorDavid Brownell <david-b@pacbell.net>
Sun, 27 Jan 2008 17:14:52 +0000 (18:14 +0100)
committerJean Delvare <khali@hyperion.delvare>
Sun, 27 Jan 2008 17:14:52 +0000 (18:14 +0100)
commite9f1373b643887f63878d1169b310c9acc534cd5
treef2ac0313819539de849ae633c0e70f26d047ea16
parent0b987dcd3ae5626ac006fbbe366e9a8415b303df
i2c: Add i2c_new_dummy() utility

This adds a i2c_new_dummy() primitive to help work with devices
that consume multiple addresses, which include many I2C eeproms
and at least one RTC.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c
include/linux/i2c.h