diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2011-10-31 20:11:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-31 20:30:53 -0400 |
commit | aaaa287b89a09f22573dc57fcbb6a7dc7d25c8ed (patch) | |
tree | da44d8fae4801ec12619b4ece7a9c1ca03acf4cd /drivers | |
parent | e58a0f89b25a2299374176d5c37aa89b326681e6 (diff) |
drivers/misc/ad525x_dpot-i2c.c: add i2c support for AD5161
Commit 6c536e4ce8e ("ad525x_dpot: add support for SPI parts") added
support for the AD5161 through SPI, but the device supports both I2C and
SPI (depending on the DIS pin), so add it to -i2c as well.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/misc/ad525x_dpot-i2c.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/ad525x_dpot-i2c.c b/drivers/misc/ad525x_dpot-i2c.c index 4ff73c215746..a39e0555df63 100644 --- a/drivers/misc/ad525x_dpot-i2c.c +++ b/drivers/misc/ad525x_dpot-i2c.c | |||
@@ -98,6 +98,7 @@ static const struct i2c_device_id ad_dpot_id[] = { | |||
98 | {"ad5282", AD5282_ID}, | 98 | {"ad5282", AD5282_ID}, |
99 | {"adn2860", ADN2860_ID}, | 99 | {"adn2860", ADN2860_ID}, |
100 | {"ad5273", AD5273_ID}, | 100 | {"ad5273", AD5273_ID}, |
101 | {"ad5161", AD5161_ID}, | ||
101 | {"ad5171", AD5171_ID}, | 102 | {"ad5171", AD5171_ID}, |
102 | {"ad5170", AD5170_ID}, | 103 | {"ad5170", AD5170_ID}, |
103 | {"ad5172", AD5172_ID}, | 104 | {"ad5172", AD5172_ID}, |