diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-12-14 21:17:26 +0100 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-12-14 21:17:26 +0100 |
commit | 1f86df49ddfd0067cce941187d57b2fd2f749a9e (patch) | |
tree | a8357108c8be9e39d040e71d473df4a8f46550da /include | |
parent | c3813d6af177fab19e322f3114b1f64fbcf08d71 (diff) | |
download | op-kernel-dev-1f86df49ddfd0067cce941187d57b2fd2f749a9e.zip op-kernel-dev-1f86df49ddfd0067cce941187d57b2fd2f749a9e.tar.gz |
i2c: Drop I2C_CLIENT_INSMOD_1
This macro simply declares an enum, so drivers might as well declare
it themselves.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/i2c.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index fb9df14..7178b27 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -604,11 +604,6 @@ union i2c_smbus_data { /* These are the ones you want to use in your own drivers. Pick the one which matches the number of devices the driver differenciates between. */ -#define I2C_CLIENT_INSMOD - -#define I2C_CLIENT_INSMOD_1(chip1) \ -enum chips { any_chip, chip1 } - #define I2C_CLIENT_INSMOD_2(chip1, chip2) \ enum chips { any_chip, chip1, chip2 } |