summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-12-14 21:17:26 +0100
committerJean Delvare <khali@linux-fr.org>2009-12-14 21:17:26 +0100
commit1f86df49ddfd0067cce941187d57b2fd2f749a9e (patch)
treea8357108c8be9e39d040e71d473df4a8f46550da /include
parentc3813d6af177fab19e322f3114b1f64fbcf08d71 (diff)
downloadop-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.h5
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 }
OpenPOWER on IntegriCloud