From: Jean Delvare Date: Fri, 19 Jun 2009 14:58:20 +0000 (+0200) Subject: i2c: Add a sysfs interface to instantiate devices X-Git-Tag: v2.6.31-rc1~107^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99cd8e25875a109455b709b5a41d4891b8d8e58e;p=pandora-kernel.git 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 Cc: David Brownell --- Reading git-diff-tree failed