diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-06-19 16:58:20 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-06-19 16:58:20 +0200 |
commit | 99cd8e25875a109455b709b5a41d4891b8d8e58e (patch) | |
tree | 38907f3c6df0048ce0c4764a282c4a21c74aa49f /drivers/i2c/i2c-core.h | |
parent | 35fc37f8188177e3ba3e7f99a6e3300e490e9181 (diff) | |
download | talos-op-linux-99cd8e25875a109455b709b5a41d4891b8d8e58e.tar.gz talos-op-linux-99cd8e25875a109455b709b5a41d4891b8d8e58e.zip |
i2c: Add a sysfs interface to instantiate devices
Add a sysfs interface to instantiate and delete I2C devices. This is
primarily a replacement of the force_* module parameters implemented
by some i2c drivers. These module parameters were implemented
internally by the I2C_CLIENT_INSMOD* macros, which don't scale well.
This can also be used when developing a driver on a self-soldered
board which doesn't yet have proper I2C device declaration at the
platform level, and presumably for various debugging situations.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'drivers/i2c/i2c-core.h')
0 files changed, 0 insertions, 0 deletions