]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/misc/ad525x_dpot-i2c.c: add i2c support for AD5161
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 24 Oct 2011 14:58:40 +0000 (01:58 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Oct 2011 09:07:58 +0000 (20:07 +1100)
commitff3d03632f65f284caf0c87fc7cd567545656d2f
treeca22cb1e8af69fe002d7b6ced266d856bb82231d
parent5c1d27345909343e586e7312baf98c6d71130b03
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>
drivers/misc/ad525x_dpot-i2c.c