aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/ad525x_dpot.h
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2010-10-26 17:22:35 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-26 19:52:14 -0400
commit5f400cf40fc703673aa791966ffb1c628c1ff45a (patch)
tree03a5440f672554a3fc2d9d76ab4616642247d78d /drivers/misc/ad525x_dpot.h
parent10ad5278bbc961c9df8260f3e116d60eaaa3fb18 (diff)
drivers/misc/ad525x_dpot.c: fix part name typos in defines
There is no runtime effect by this change. It frees up namespace for defines erroneously used. This is required to actually support devices requiring the namespace, added with "drivers/misc/ad525x_dpot.c: new features". All defines touched have the same value defined, after the change. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Chris Verges <chrisv@cyberswitching.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/ad525x_dpot.h')
-rw-r--r--drivers/misc/ad525x_dpot.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/misc/ad525x_dpot.h b/drivers/misc/ad525x_dpot.h
index 78b89fd2e2fd..7609d49efd31 100644
--- a/drivers/misc/ad525x_dpot.h
+++ b/drivers/misc/ad525x_dpot.h
@@ -166,14 +166,14 @@ enum dpot_devid {
166#define DPOT_AD5291_RDAC 0x01 166#define DPOT_AD5291_RDAC 0x01
167#define DPOT_AD5291_READ_RDAC 0x02 167#define DPOT_AD5291_READ_RDAC 0x02
168 168
169/* AD524x use special commands */
170#define DPOT_AD5291_RDAC_AB 0x80 169#define DPOT_AD5291_RDAC_AB 0x80
171 170
171#define DPOT_AD5282_RDAC_AB 0x80
172#define DPOT_AD5273_FUSE 0x80 172#define DPOT_AD5273_FUSE 0x80
173#define DPOT_AD5270_2_3_FUSE 0x20 173#define DPOT_AD5170_2_3_FUSE 0x20
174#define DPOT_AD5270_2_3_OW 0x08 174#define DPOT_AD5170_2_3_OW 0x08
175#define DPOT_AD5272_3_A0 0x08 175#define DPOT_AD5172_3_A0 0x08
176#define DPOT_AD5270_2FUSE 0x80 176#define DPOT_AD5170_2FUSE 0x80
177 177
178struct dpot_data; 178struct dpot_data;
179 179