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.
Unified · Split
| @@ -98,6 +98,7 @@ static const struct i2c_device_id ad_dpot_id[] = { · 97 unmodified lines | |||
| 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}, |