projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f64c305
)
staging:iio:ad7291 remove double define
author
Hartmut Knaack
<knaack.h@gmx.de>
Thu, 7 Aug 2014 11:06:00 +0000
(12:06 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Tue, 8 Jul 2014 18:05:15 +0000
(19:05 +0100)
Remove second instance of definition of AD7291_BITS.
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad7291.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/iio/adc/ad7291.c
b/drivers/staging/iio/adc/ad7291.c
index 357cef2a6f4c5c958a61939c0e644a361676a585..e6ef35c24061d79282d4f0602a7aaf44ee99aa86 100644
(file)
--- a/
drivers/staging/iio/adc/ad7291.c
+++ b/
drivers/staging/iio/adc/ad7291.c
@@
-73,8
+73,6
@@
#define AD7291_T_VALUE_FLOAT_OFFSET 2
#define AD7291_T_VALUE_FLOAT_MASK 0x2
-#define AD7291_BITS 12
-
struct ad7291_chip_info {
struct i2c_client *client;
struct regulator *reg;