projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e58a0f8
)
drivers/misc/ad525x_dpot-i2c.c: add i2c support for AD5161
author
Peter Korsgaard
<
[email protected]
>
Tue, 1 Nov 2011 00:11:12 +0000
(17:11 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 1 Nov 2011 00:30:53 +0000
(17:30 -0700)
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 <
[email protected]
>
Acked-by: Mike Frysinger <
[email protected]
>
Acked-by: Michael Hennerich <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/misc/ad525x_dpot-i2c.c
patch
|
blob
|
history
diff --git
a/drivers/misc/ad525x_dpot-i2c.c
b/drivers/misc/ad525x_dpot-i2c.c
index 4ff73c215746688357ca5406e332b3ed320a5985..a39e0555df63e6443b816b933c069bb70c4477fd 100644
(file)
--- 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[] = {
{"ad5282", AD5282_ID},
{"adn2860", ADN2860_ID},
{"ad5273", AD5273_ID},
+ {"ad5161", AD5161_ID},
{"ad5171", AD5171_ID},
{"ad5170", AD5170_ID},
{"ad5172", AD5172_ID},