From: Peter Korsgaard Date: Tue, 1 Nov 2011 00:11:12 +0000 (-0700) Subject: drivers/misc/ad525x_dpot-i2c.c: add i2c support for AD5161 X-Git-Tag: v3.2-rc1~108^2~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aaaa287b89a09f22573dc57fcbb6a7dc7d25c8ed;p=platform%2Fkernel%2Flinux-stable.git 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 Acked-by: Mike Frysinger Acked-by: Michael Hennerich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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[] = { {"ad5282", AD5282_ID}, {"adn2860", ADN2860_ID}, {"ad5273", AD5273_ID}, + {"ad5161", AD5161_ID}, {"ad5171", AD5171_ID}, {"ad5170", AD5170_ID}, {"ad5172", AD5172_ID},